drm/i915: Add media rc6 residency file to sysfs
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 26 Feb 2015 15:40:27 +0000 (21:10 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 26 Feb 2015 16:48:00 +0000 (17:48 +0100)
commit626ad6f37de1620e9ccd6b28f1743ee959b582c6
treec1445272821eb669cbf17e20e0d5a8f7c32ed9dc
parent719cd21ceddb45b31394302cd9f2adc8b281e476
drm/i915: Add media rc6 residency file to sysfs

On VLV/CHV the media well rc6 residency gets reported separately
from the render well, so add another file to sysfs so that we can
report the residency to the user.

Testcase: igt/pm_rc6_residency --run-subtest media-rc6-accuracy
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_sysfs.c