]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/skl: Add SKL HW status to SSEU status
authorJeff McGee <jeff.mcgee@intel.com>
Fri, 13 Feb 2015 16:27:55 +0000 (10:27 -0600)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 23 Feb 2015 22:57:08 +0000 (23:57 +0100)
commit3726f6f47feb4099bee8e1c1f8c730e61749146b
treed7f7a3fe954192947324b0384a120194003570ce
parent4bdb0c152754a7cf1e414b5416d12d8af7476cb6
drm/i915/skl: Add SKL HW status to SSEU status

Add a new section to the 'i915_sseu_status' debugfs entry to
report the currently enabled counts of slice, subslice, and
execution units on the device. The count of enabled subslice
per slice represents the most enabled subslice on any one
slice for devices where imbalances may exist. Similarly, the
count of enabled EU per subslice represents the most enabled
EU on any one subslice.

Collect this device status for Skylake by reading the Gen9
power gate control ack message registers. Power gate control
operates on EU in pairs, therefore our reported counts of
enabled EU can be overestimated by one for each pair in which
one EU is fused-off.

Signed-off-by: Jeff McGee <jeff.mcgee@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_reg.h