[Intel-gfx] [PATCH] drm/i915: Respect HW RC6 states availability

Chris Wilson chris at chris-wilson.co.uk
Wed Oct 24 23:33:23 CEST 2012


On Wed, 24 Oct 2012 17:01:22 -0200, Rodrigo Vivi <rodrigo.vivi at gmail.com> wrote:
> diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
> index 50f5809..a8c6c08 100644
> --- a/drivers/gpu/drm/i915/intel_pm.c
> +++ b/drivers/gpu/drm/i915/intel_pm.c
> @@ -2370,7 +2370,7 @@ static void gen6_disable_rps(struct drm_device *dev)
>  int intel_enable_rc6(const struct drm_device *dev)
>  {
>  	/* Respect the kernel parameter if it is set */
> -	if (i915_enable_rc6 >= 0)
> +	if (i915_enable_rc6 = 0)
This doesn't do what you want.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list