From: Matt Roper Date: Wed, 14 Jun 2023 20:52:01 +0000 (-0700) Subject: drm/xe: Print proper revid value for unknown media revision X-Git-Tag: v6.8-rc1~21^2~13^2~572 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=98b6d092341128f753cff64b1bceda69c718b6af;p=linux-block.git 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 Link: https://lore.kernel.org/r/20230614205202.3376752-4-matthew.d.roper@intel.com Signed-off-by: Matt Roper Signed-off-by: Rodrigo Vivi --- 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;