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

Jouni Högander jouni.hogander at intel.com
Thu Sep 21 11:14:33 UTC 2023


Introducing xe_runtime_pm doesn't really belong into drm driver
introduction patch. Let's remove it from here and add back in display
implementation patch where it's needed.

v2: Remove xe_runtime_pm completely from DRM driver patch

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

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



More information about the Intel-xe mailing list