OSDN Git Service

drm/i915: Don't try to calculate RC6 residency on GEN4 and before
authorDamien Lespiau <damien.lespiau@intel.com>
Fri, 7 Jun 2013 16:41:14 +0000 (17:41 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 16 Jul 2013 08:33:22 +0000 (10:33 +0200)
commiteb4926e4a6e3922398fd6880f07a84db95aa3741
tree3c2ea5e84d16a098b50fd42770abf0824249c098
parent19bc678a6066d4ecca938c50ac2f9e9ccfb0ddbe
drm/i915: Don't try to calculate RC6 residency on GEN4 and before

intel_enable_rc6() is used to check if we can compute the RC6 residency
in the sysfs code. Disable this for platforms older than Ironlake.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c