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

Jani Nikula jani.nikula at intel.com
Wed Apr 5 15:39:06 UTC 2023


Replace ips stubs in i915_drv.h

With hsw_ips.h conditional build, this is no longer needed.

Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
 drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h | 4 +---
 1 file changed, 1 insertion(+), 3 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 92dfbb8b3ca4..923b2212f422 100644
--- a/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h
+++ b/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h
@@ -92,6 +92,7 @@ static inline struct drm_i915_private *kdev_to_i915(struct device *kdev)
 #define HAS_PSR2_SEL_FETCH(xe) (xe || 1)
 #define HAS_PSR_HW_TRACKING(xe) ((xe)->info.display.has_psr_hw_tracking)
 #define HAS_IPC(xe) ((xe)->info.display.has_ipc)
+#define HAS_IPS(xe) (xe && false)
 #define HAS_SAGV(xe) (xe || 1)
 #define HAS_DP_MST(xe) ((xe)->info.display.has_dp_mst)
 #define HAS_DMC(xe) ((xe)->info.display.has_dmc)
@@ -174,9 +175,6 @@ static inline struct drm_i915_private *kdev_to_i915(struct device *kdev)
 /* Should not be called (vlv specific) */
 #define assert_dsi_pll_enabled(xe) BUG_ON(1)
 
-#define hsw_ips_disable(crtc_state) (crtc_state && 0)
-#define hsw_ips_pre_update(glob, crtc) (glob && crtc && 0)
-#define hsw_ips_post_update(glob, crtc) do { (void)glob; (void)crtc; } while (0)
 #define intel_has_gpu_reset(a) (a && 0)
 #define intel_overlay_switch_off(a) (a && 0)
 #define intel_overlay_cleanup(a) do { (void)a; } while (0)
-- 
2.39.2



More information about the Intel-xe mailing list