[Intel-xe] [PATCH] fixup! drm/xe/pat: Handle unicast vs MCR PAT registers

Matt Roper matthew.d.roper at intel.com
Mon Mar 27 17:34:33 UTC 2023


Somehow I dropped the error message when sending this; add it back.

To be squashed next time the Xe driver is rebased.

Fixes: 11946af00717 ("drm/xe/pat: Handle unicast vs MCR PAT registers")
Signed-off-by: Matt Roper <matthew.d.roper at intel.com>
---
 drivers/gpu/drm/xe/xe_pat.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/xe/xe_pat.c b/drivers/gpu/drm/xe/xe_pat.c
index a713afdd0510..c860b2122301 100644
--- a/drivers/gpu/drm/xe/xe_pat.c
+++ b/drivers/gpu/drm/xe/xe_pat.c
@@ -94,5 +94,7 @@ void xe_pat_init(struct xe_gt *gt)
 		 * raise an error rather than trying to silently inherit the
 		 * most recent platform's behavior.
 		 */
+		drm_err(&xe->drm, "Missing PAT table for platform with graphics version %d.%2d!\n",
+			GRAPHICS_VER(xe), GRAPHICS_VERx100(xe) % 100);
 	}
 }
-- 
2.39.2



More information about the Intel-xe mailing list