[Intel-xe] [PATCH 3/4] drm/xe: Print proper revid value for unknown media revision
Gustavo Sousa
gustavo.sousa at intel.com
Fri Jun 16 14:09:53 UTC 2023
Quoting Matt Roper (2023-06-14 17:52:01-03:00)
>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.
>
>Signed-off-by: Matt Roper <matthew.d.roper at intel.com>
Reviewed-by: Gustavo Sousa <gustavo.sousa at intel.com>
>---
> drivers/gpu/drm/xe/xe_step.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>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;
>--
>2.40.1
>
More information about the Intel-xe
mailing list