• Jeff McGee's avatar
    drm/i915/skl: Add SKL HW status to SSEU status · 7f992aba
    Jeff McGee authored
    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: default avatarJeff McGee <jeff.mcgee@intel.com>
    Reviewed-by: default avatarDamien Lespiau <damien.lespiau@intel.com>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    7f992aba
i915_reg.h 274 KB