[Intel-xe] [PATCH 3/4] fixup! drm/xe: Introduce a new DRM driver for Intel GPUs

Jouni Högander jouni.hogander at intel.com
Mon Sep 18 07:00:59 UTC 2023


intel_runtime_pm is ok for Xe driver as well. Especially as this
whole struct is here just to kill some build problems.

Signed-off-by: Jouni Högander <jouni.hogander at intel.com>
---
 drivers/gpu/drm/xe/xe_device_types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h
index a82f28c6a3a0..ae18097cf8ea 100644
--- a/drivers/gpu/drm/xe/xe_device_types.h
+++ b/drivers/gpu/drm/xe/xe_device_types.h
@@ -402,7 +402,7 @@ struct xe_device {
 	u32 edram_size_mb;
 
 	/* To shut up runtime pm macros.. */
-	struct xe_runtime_pm {} runtime_pm;
+	struct intel_runtime_pm {} runtime_pm;
 
 	/* For pcode */
 	struct mutex sb_lock;
-- 
2.34.1



More information about the Intel-xe mailing list