diff options
| author | Imre Deak <imre.deak@intel.com> | 2025-01-14 14:28:57 +0200 |
|---|---|---|
| committer | Imre Deak <imre.deak@intel.com> | 2025-01-16 20:32:35 +0200 |
| commit | 73900dce57e40bcced9af4518051ab9dabb9aea9 (patch) | |
| tree | afa8825f87a45a3e907709e0e884c0dede44dac1 /drivers/gpu/drm/i915/display/intel_dp_tunnel.h | |
| parent | fd95e73debdffd77febc0f0b4b304378856a5e6b (diff) | |
drm/xe/dp: Enable DP tunneling
Enable the DP tunneling functionality in the xe driver.
v2: Keep using IS_ENABLED() for kconfig options. (Jani)
Cc: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250114122857.1050090-1-imre.deak@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_tunnel.h')
| -rw-r--r-- | drivers/gpu/drm/i915/display/intel_dp_tunnel.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_dp_tunnel.h b/drivers/gpu/drm/i915/display/intel_dp_tunnel.h index e9314cf25a19..7f0f720e8dca 100644 --- a/drivers/gpu/drm/i915/display/intel_dp_tunnel.h +++ b/drivers/gpu/drm/i915/display/intel_dp_tunnel.h @@ -20,7 +20,8 @@ struct intel_dp; struct intel_encoder; struct intel_link_bw_limits; -#if IS_ENABLED(CONFIG_DRM_I915_DP_TUNNEL) && defined(I915) +#if (IS_ENABLED(CONFIG_DRM_I915_DP_TUNNEL) && defined(I915)) || \ + (IS_ENABLED(CONFIG_DRM_XE_DP_TUNNEL) && !defined(I915)) int intel_dp_tunnel_detect(struct intel_dp *intel_dp, struct drm_modeset_acquire_ctx *ctx); void intel_dp_tunnel_disconnect(struct intel_dp *intel_dp); @@ -127,6 +128,6 @@ intel_dp_tunnel_mgr_init(struct intel_display *display) static inline void intel_dp_tunnel_mgr_cleanup(struct intel_display *display) {} -#endif /* CONFIG_DRM_I915_DP_TUNNEL */ +#endif /* CONFIG_DRM_I915_DP_TUNNEL || CONFIG_DRM_XE_DP_TUNNEL */ #endif /* __INTEL_DP_TUNNEL_H__ */ |
