[Intel-xe] [PATCH v2 2/2] drm/xe/mcr: Document how to initialize group/instance

Lucas De Marchi lucas.demarchi at intel.com
Thu Mar 9 21:12:10 UTC 2023


Add a sentence about the initialization so it's clear for newcomers
how to tweak the init functions for new platforms.

Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
---
 drivers/gpu/drm/xe/xe_gt_mcr.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_gt_mcr.c b/drivers/gpu/drm/xe/xe_gt_mcr.c
index ab8fc649ba52..b7cee438f6e3 100644
--- a/drivers/gpu/drm/xe/xe_gt_mcr.c
+++ b/drivers/gpu/drm/xe/xe_gt_mcr.c
@@ -34,7 +34,10 @@
  * fused off or currently powered down due to power gating, the MMIO operation
  * is "terminated" by the hardware.  Terminated read operations will return a
  * value of zero and terminated unicast write operations will be silently
- * ignored.
+ * ignored. During device initialization, the goal of the various
+ * ``init_steering_*()`` functions is to apply the termination rules for each
+ * steering type and return a steering that selects an instance that is not
+ * fused off.
  */
 
 enum {
-- 
2.39.0



More information about the Intel-xe mailing list