aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Roper <[email protected]>2023-06-14 13:52:01 -0700
committerRodrigo Vivi <[email protected]>2023-12-21 11:35:07 -0500
commit98b6d092341128f753cff64b1bceda69c718b6af (patch)
treef633a5359b1a680618673bcc90fd3e1931f0ca07
parent54c5b74a06939bec61aa59421aa1073c0b666c2c (diff)
drm/xe: Print proper revid value for unknown media revision
If the GMD_ID register reports a higher media revision ID than we're expecting, print the media revid, not the graphics revid, in the debug message. Reviewed-by: Gustavo Sousa <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Matt Roper <[email protected]> Signed-off-by: Rodrigo Vivi <[email protected]>
-rw-r--r--drivers/gpu/drm/xe/xe_step.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_step.c b/drivers/gpu/drm/xe/xe_step.c
index 1baf79ba02ad..371cac951e0f 100644
--- a/drivers/gpu/drm/xe/xe_step.c
+++ b/drivers/gpu/drm/xe/xe_step.c
@@ -235,7 +235,7 @@ struct xe_step_info xe_step_gmdid_get(struct xe_device *xe,
if (step.media >= STEP_FUTURE) {
step.media = STEP_FUTURE;
drm_dbg(&xe->drm, "Media GMD_ID revid value %d treated as future stepping\n",
- graphics_gmdid_revid);
+ media_gmdid_revid);
}
return step;