[Intel-gfx] [PATCH 31/36] drm/i915: Don't fiddle with rps/rc6 across GPU reset

Sagar Arun Kamble sagar.a.kamble at intel.com
Sun Mar 18 12:13:38 UTC 2018



On 3/14/2018 3:07 PM, Chris Wilson wrote:
> Resetting the GPU doesn't affect the RPS/RC6 state, so we can stop
> forcibly reloading the registers.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
Changes look good to me.
Reviewed-by: Sagar Arun Kamble <sagar.a.kamble at intel.com>
> ---
>   drivers/gpu/drm/i915/i915_gem.c | 4 ----
>   1 file changed, 4 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
> index 9f5b3a2a8b61..9443464cebbb 100644
> --- a/drivers/gpu/drm/i915/i915_gem.c
> +++ b/drivers/gpu/drm/i915/i915_gem.c
> @@ -3162,10 +3162,6 @@ void i915_gem_reset(struct drm_i915_private *dev_priv)
>   	}
>   
>   	i915_gem_restore_fences(dev_priv);
> -
> -	intel_gt_pm_enable_rc6(dev_priv);
> -	if (dev_priv->gt.awake)
> -		intel_gt_pm_busy(dev_priv);
>   }
>   
>   void i915_gem_reset_finish_engine(struct intel_engine_cs *engine)

-- 
Thanks,
Sagar



More information about the Intel-gfx mailing list