[PATCH 30/37] drm/i915: disable rc6 on haswell for now

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reviewed-by: Rodrigo Vivi <rodrigo.vivi at gmail.com>

On Wed, Mar 21, 2012 at 10:10 PM, Eugeni Dodonov
<eugeni.dodonov at intel.com> wrote:
> This needs proper enablement to avoid machine hangs, so let's just avoid
> it for now.
>
> Signed-off-by: Eugeni Dodonov <eugeni.dodonov at intel.com>
> ---
> ?drivers/gpu/drm/i915/intel_display.c | ? ?4 ++++
> ?1 file changed, 4 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index 2c5b953..f7dbcab 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -8275,6 +8275,10 @@ static bool intel_enable_rc6(struct drm_device *dev)
> ? ? ? ?if (INTEL_INFO(dev)->gen == 5)
> ? ? ? ? ? ? ? ?return 0;
>
> + ? ? ? /* Sorry Haswell, no RC6 for you for now. */
> + ? ? ? if (IS_HASWELL(dev))
> + ? ? ? ? ? ? ? return 0;
> +
> ? ? ? ?/*
> ? ? ? ? * Disable rc6 on Sandybridge
> ? ? ? ? */
> --
> 1.7.9.2
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx



-- 
Rodrigo Vivi
Blog: http://blog.vivi.eng.br
GPG: 0x905BE242 @ wwwkeys.pgp.net


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux