drm/i915: Stop pretending VLV has rc6+
authorBen Widawsky <benjamin.widawsky@intel.com>
Wed, 29 Jan 2014 04:25:39 +0000 (20:25 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 12 Feb 2014 17:53:12 +0000 (18:53 +0100)
It wasn't ever used by the caller anyway with the exception of what we
show in sysfs.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Deepak S <deepak.s@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
[danvet: Apply Deepak's suggestion.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c

index 01b399fafe7408942738443c7733a7d9a49cfa52..8f8d840057797432525ef573d373adf0e17e4a6c 100644 (file)
@@ -3222,10 +3222,10 @@ int intel_enable_rc6(const struct drm_device *dev)
        if (INTEL_INFO(dev)->gen == 5)
                return 0;
 
-       if (IS_IVYBRIDGE(dev) || IS_VALLEYVIEW(dev))
+       if (IS_IVYBRIDGE(dev))
                return (INTEL_RC6_ENABLE | INTEL_RC6p_ENABLE);
-       else
-               return INTEL_RC6_ENABLE;
+
+       return INTEL_RC6_ENABLE;
 }
 
 static void gen6_enable_rps_interrupts(struct drm_device *dev)