[Intel-xe] [PATCH 4/4] fixup! drm/xe/display: Implement display support

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


xe_runtime_pm changed to intel_runtime_pm.

Signed-off-by: Jouni Högander <jouni.hogander at intel.com>
---
 drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h b/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h
index 03ac39efba38..2d5d8be52f88 100644
--- a/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h
+++ b/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h
@@ -156,7 +156,7 @@ static inline struct drm_i915_private *kdev_to_i915(struct device *kdev)
 
 #include "intel_wakeref.h"
 
-static inline bool intel_runtime_pm_get(struct xe_runtime_pm *pm)
+static inline bool intel_runtime_pm_get(struct intel_runtime_pm *pm)
 {
 	struct xe_device *xe = container_of(pm, struct xe_device, runtime_pm);
 
@@ -167,21 +167,21 @@ static inline bool intel_runtime_pm_get(struct xe_runtime_pm *pm)
 	return true;
 }
 
-static inline bool intel_runtime_pm_get_if_in_use(struct xe_runtime_pm *pm)
+static inline bool intel_runtime_pm_get_if_in_use(struct intel_runtime_pm *pm)
 {
 	struct xe_device *xe = container_of(pm, struct xe_device, runtime_pm);
 
 	return xe_pm_runtime_get_if_active(xe);
 }
 
-static inline void intel_runtime_pm_put_unchecked(struct xe_runtime_pm *pm)
+static inline void intel_runtime_pm_put_unchecked(struct intel_runtime_pm *pm)
 {
 	struct xe_device *xe = container_of(pm, struct xe_device, runtime_pm);
 
 	xe_pm_runtime_put(xe);
 }
 
-static inline void intel_runtime_pm_put(struct xe_runtime_pm *pm, bool wakeref)
+static inline void intel_runtime_pm_put(struct intel_runtime_pm *pm, bool wakeref)
 {
 	if (wakeref)
 		intel_runtime_pm_put_unchecked(pm);
-- 
2.34.1



More information about the Intel-xe mailing list