From: Lucas De Marchi Date: Thu, 9 Mar 2023 02:18:57 +0000 (-0800) Subject: drm/xe/mcr: Document how to initialize group/instance X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=6b980aa88d403db3e4cf5b58965dfa9a5f27c740;p=linux.git drm/xe/mcr: Document how to initialize group/instance 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 Reviewed-by: Matt Roper Signed-off-by: Rodrigo Vivi --- diff --git a/drivers/gpu/drm/xe/xe_gt_mcr.c b/drivers/gpu/drm/xe/xe_gt_mcr.c index ab8fc649ba52e..909059112179a 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 platform-specific rules for + * each MCR register type to identify a steering target that will select a + * non-terminated instance. */ enum {