[Intel-gfx] [PATCH 10/10] drm/i915: Remove temporary RPM wakeref assert disables
Mika Kuoppala
mika.kuoppala at linux.intel.com
Mon Jul 11 15:30:23 UTC 2016
Chris Wilson <chris at chris-wilson.co.uk> writes:
> Now that the last couple of hacks have been removed from the runtime
> powermanagement users, we can fully enable the asserts.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala at intel.com>
> ---
> drivers/gpu/drm/i915/intel_drv.h | 7 -------
> 1 file changed, 7 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
> index 9c78fda491f0..26bfcccad57e 100644
> --- a/drivers/gpu/drm/i915/intel_drv.h
> +++ b/drivers/gpu/drm/i915/intel_drv.h
> @@ -1665,13 +1665,6 @@ enable_rpm_wakeref_asserts(struct drm_i915_private *dev_priv)
> atomic_dec(&dev_priv->pm.wakeref_count);
> }
>
> -/* TODO: convert users of these to rely instead on proper RPM refcounting */
> -#define DISABLE_RPM_WAKEREF_ASSERTS(dev_priv) \
> - disable_rpm_wakeref_asserts(dev_priv)
> -
> -#define ENABLE_RPM_WAKEREF_ASSERTS(dev_priv) \
> - enable_rpm_wakeref_asserts(dev_priv)
> -
> void intel_runtime_pm_get(struct drm_i915_private *dev_priv);
> bool intel_runtime_pm_get_if_in_use(struct drm_i915_private *dev_priv);
> void intel_runtime_pm_get_noresume(struct drm_i915_private *dev_priv);
> --
> 2.8.1
More information about the Intel-gfx
mailing list