]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Remove PSR Perf Counter for SKL+
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 23 Nov 2015 22:16:40 +0000 (14:16 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 24 Nov 2015 12:33:10 +0000 (13:33 +0100)
commitdb77e208a8d9eba5447e95020aa0b4f8a336cf47
treedc1850ef36a1809d183cea6f82b231d09bec7501
parent209ab63ebe7e245f8d4f03f28938941bf878e197
drm/i915: Remove PSR Perf Counter for SKL+

Whenever DMC firmware put the HW into DC State a bunch
of registers including this perf counter is reset to 0.

Even with PSR active and working we could still read
"Performance_Counter: 0" what will misslead people to believe
PSR is broken. For instance on SKL we can only see PC10
residency with screen on if PSR is working properly.
However Performance_Counter was showing 0.

Even if it restored properly on DC6 exit we don't want to
give users the wrong impression that PSR is not working
while we know for sure it is.

So, it is better to remove this counter information while
we don't have a better way to track PSR residency.

Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Durgadoss R <durgadoss.r@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c