[Intel-xe] [PATCH 02/41] fixup! drm/i915/display: Remaining changes to make xe compile
Jani Nikula
jani.nikula at intel.com
Wed Apr 12 14:19:27 UTC 2023
Remove intel_dpio_phy.h hacky conditional compile. To be replaced with
better stubs.
Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
drivers/gpu/drm/i915/display/intel_dpio_phy.h | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dpio_phy.h b/drivers/gpu/drm/i915/display/intel_dpio_phy.h
index 952e8d446425..855d96d670cd 100644
--- a/drivers/gpu/drm/i915/display/intel_dpio_phy.h
+++ b/drivers/gpu/drm/i915/display/intel_dpio_phy.h
@@ -27,7 +27,6 @@ enum dpio_phy {
DPIO_PHY2,
};
-#ifdef I915
void bxt_port_to_phy_channel(struct drm_i915_private *dev_priv, enum port port,
enum dpio_phy *phy, enum dpio_channel *ch);
void bxt_ddi_phy_set_signal_levels(struct intel_encoder *encoder,
@@ -73,17 +72,4 @@ void vlv_phy_pre_encoder_enable(struct intel_encoder *encoder,
void vlv_phy_reset_lanes(struct intel_encoder *encoder,
const struct intel_crtc_state *old_crtc_state);
-#else
-#define bxt_port_to_phy_channel(xe, port, phy, ch) do { *phy = 0; *ch = 0; } while (xe && port && 0)
-static inline void bxt_ddi_phy_set_signal_levels(struct intel_encoder *x,
- const struct intel_crtc_state *y) {}
-#define bxt_ddi_phy_init(xe, phy) do { } while (xe && phy && 0)
-#define bxt_ddi_phy_uninit(xe, phy) do { } while (xe && phy && 0)
-#define bxt_ddi_phy_is_enabled(xe, phy) (xe && phy && 0)
-static inline bool bxt_ddi_phy_verify_state(struct xe_device *xe, enum dpio_phy phy) { return false; }
-#define bxt_ddi_phy_calc_lane_lat_optim_mask(x) (x && 0)
-#define bxt_ddi_phy_set_lane_optim_mask(x, y) do { } while (x && y && 0)
-#define bxt_ddi_phy_get_lane_lat_optim_mask(x) (x && 0)
-#endif
-
#endif /* __INTEL_DPIO_PHY_H__ */
--
2.39.2
More information about the Intel-xe
mailing list