From 7f992aba1eb5a8b57d6e9c9b22cd90ba7aec0e26 Mon Sep 17 00:00:00 2001 From: Jeff McGee Date: Fri, 13 Feb 2015 10:27:55 -0600 Subject: [PATCH] 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 Reviewed-by: Damien Lespiau Signed-off-by: Daniel Vetter --- Reading git-format-patch failed