mirror of https://gitee.com/openkylin/linux.git
drm/i915: disable rc6 on haswell for now
This needs proper enablement to avoid machine hangs, so let's just avoid it for now. Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com> Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
0cd83aa9a6
commit
83de97c885
|
@ -8585,6 +8585,10 @@ int intel_enable_rc6(const struct drm_device *dev)
|
||||||
if (INTEL_INFO(dev)->gen == 5)
|
if (INTEL_INFO(dev)->gen == 5)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
/* Sorry Haswell, no RC6 for you for now. */
|
||||||
|
if (IS_HASWELL(dev))
|
||||||
|
return 0;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Disable rc6 on Sandybridge
|
* Disable rc6 on Sandybridge
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue