Commit 8bade1ad authored by Ben Widawsky's avatar Ben Widawsky Committed by Daniel Vetter

drm/i915: Stop pretending VLV has rc6+

It wasn't ever used by the caller anyway with the exception of what we
show in sysfs.
Signed-off-by: default avatarBen Widawsky <ben@bwidawsk.net>
Reviewed-by: default avatarDeepak S <deepak.s@intel.com>
Reviewed-by: default avatarRodrigo Vivi <rodrigo.vivi@gmail.com>
[danvet: Apply Deepak's suggestion.]
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent cca84a1f
...@@ -3222,9 +3222,9 @@ int intel_enable_rc6(const struct drm_device *dev) ...@@ -3222,9 +3222,9 @@ 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;
if (IS_IVYBRIDGE(dev) || IS_VALLEYVIEW(dev)) if (IS_IVYBRIDGE(dev))
return (INTEL_RC6_ENABLE | INTEL_RC6p_ENABLE); return (INTEL_RC6_ENABLE | INTEL_RC6p_ENABLE);
else
return INTEL_RC6_ENABLE; return INTEL_RC6_ENABLE;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment