drm/i915/vlv: disable rc6p and rc6pp residency reporting on BYT
authorJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 11 Sep 2013 20:43:20 +0000 (13:43 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 20 Sep 2013 07:43:03 +0000 (09:43 +0200)
commit5ffd494b8e88250d922db91037b4df676cb679a2
treedbe1a9cd51c4ac5b405f8f9a2eeff0daaac9f6f3
parenta2b23fe04e183ef58ed45183e39dbc696f9600b1
drm/i915/vlv: disable rc6p and rc6pp residency reporting on BYT

Byt doesn't have rc6p and rc6pp support and even more important the
the offsets of the residency registers there's something else. So Just
return a constant 0 to avoid upsetting userspace tools like powertop.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
[danvet: Explain a bit in the commit message what's going on.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_sysfs.c