drm/i915: prepare for xe driver display integration
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest19 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/19 | drm/i915: define I915 during i915 driver builddrivers/ | +4 | 0 replies | |
| 2/19 | drm/i915/display: add I915 conditional build to intel_lvds.hdrivers/ | +19 | 0 replies | |
| 3/19 | drm/i915/display: add I915 conditional build to hsw_ips.hdrivers/ | +35 | 0 replies | |
| 4/19 | drm/i915/display: add I915 conditional build to i9xx_plane.hdrivers/ | +23 | 0 replies | |
| 5/19 | drm/i915/display: add I915 conditional build to intel_lpe_audio.hdrivers/ | +18 | 0 replies | |
| 6/19 | drm/i915/display: add I915 conditional build to intel_pch_refclk.hdrivers/ | +23 | 0 replies | |
| 7/19 | drm/i915/display: add I915 conditional build to intel_pch_display.hdrivers/ | +53 | 0 replies | |
| 8/19 | drm/i915/display: add I915 conditional build to intel_sprite.hdrivers/ | +8 | 0 replies | |
| 9/19 | drm/i915/display: add I915 conditional build to intel_overlay.hdrivers/ | +35 | 0 replies | |
| 10/19 | drm/i915/display: add I915 conditional build to g4x_dp.hdrivers/ | +26 | 0 replies | |
| 11/19 | drm/i915/display: add I915 conditional build to intel_dpio_phy.hdrivers/ | +96 | 0 replies | |
| 12/19 | drm/i915/display: add I915 conditional build to intel_crt.hdrivers/ | +14 | 0 replies | |
| 13/19 | drm/i915/display: add I915 conditional build to vlv_dsi.hdrivers/ | +13 | 0 replies | |
| 14/19 | drm/i915/display: add I915 conditional build to i9xx_wm.hdrivers/ | +17 | 0 replies | |
| 15/19 | drm/i915/display: add I915 conditional build to g4x_hdmi.hdrivers/ | +12 | 0 replies | |
| 16/19 | drm/i915/display: add I915 conditional build to intel_dvo.hdrivers/ | +6 | 0 replies | |
| 17/19 | drm/i915/display: add I915 conditional build to intel_sdvo.hdrivers/ | +13 | 0 replies | |
| 18/19 | drm/i915/display: add I915 conditional build to intel_tv.hdrivers/ | +6 | 0 replies | |
| 19/19 | drm/i915/display: add I915 conditional build to vlv_dsi_pll.hdrivers/ | +9 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/19] drm/i915: prepare for xe driver display integration
The upcoming drm/xe driver [1][2] will reuse the drm/i915 display code, initially by compiling the relevant compilation units separately as part of the xe driver. This series prepares for that in i915 side.
The first patch defines I915 during the i915 driver build, to allow conditional compilation based on the driver the code is being built for.
The rest of the patches add stubs for functions in files that aren't used in xe. The idea is that this is the least intrusive way of skipping that code in xe, and is quite similar to the common kconfig stubs.
While this is arguably unused code for the time being, or only used in an out-of-tree driver yet to be upstreamed, the upstreaming has to start somewhere.
BR,
Jani.
[1] https://gitlab.freedesktop.org/drm/xe/kernel/-/tree/drm-xe-next
[2] https://patchwork.freedesktop.org/series/112188/
Jani Nikula (19):
drm/i915: define I915 during i915 driver build drm/i915/display: add I915 conditional build to intel_lvds.h drm/i915/display: add I915 conditional build to hsw_ips.h drm/i915/display: add I915 conditional build to i9xx_plane.h drm/i915/display: add I915 conditional build to intel_lpe_audio.h drm/i915/display: add I915 conditional build to intel_pch_refclk.h drm/i915/display: add I915 conditional build to intel_pch_display.h drm/i915/display: add I915 conditional build to intel_sprite.h drm/i915/display: add I915 conditional build to intel_overlay.h drm/i915/display: add I915 conditional build to g4x_dp.h drm/i915/display: add I915 conditional build to intel_dpio_phy.h drm/i915/display: add I915 conditional build to intel_crt.h drm/i915/display: add I915 conditional build to vlv_dsi.h drm/i915/display: add I915 conditional build to i9xx_wm.h drm/i915/display: add I915 conditional build to g4x_hdmi.h drm/i915/display: add I915 conditional build to intel_dvo.h drm/i915/display: add I915 conditional build to intel_sdvo.h drm/i915/display: add I915 conditional build to intel_tv.h drm/i915/display: add I915 conditional build to vlv_dsi_pll.h
drivers/gpu/drm/i915/Makefile | 4 + drivers/gpu/drm/i915/display/g4x_dp.h | 26 +++++ drivers/gpu/drm/i915/display/g4x_hdmi.h | 12 +++ drivers/gpu/drm/i915/display/hsw_ips.h | 35 +++++++ drivers/gpu/drm/i915/display/i9xx_plane.h | 23 +++++ drivers/gpu/drm/i915/display/i9xx_wm.h | 17 ++++ drivers/gpu/drm/i915/display/intel_crt.h | 14 +++ drivers/gpu/drm/i915/display/intel_dpio_phy.h | 96 +++++++++++++++++++ drivers/gpu/drm/i915/display/intel_dvo.h | 6 ++ .../gpu/drm/i915/display/intel_lpe_audio.h | 18 ++++ drivers/gpu/drm/i915/display/intel_lvds.h | 19 ++++ drivers/gpu/drm/i915/display/intel_overlay.h | 35 +++++++ .../gpu/drm/i915/display/intel_pch_display.h | 53 ++++++++++ .../gpu/drm/i915/display/intel_pch_refclk.h | 23 +++++ drivers/gpu/drm/i915/display/intel_sdvo.h | 13 +++ drivers/gpu/drm/i915/display/intel_sprite.h | 8 ++ drivers/gpu/drm/i915/display/intel_tv.h | 6 ++ drivers/gpu/drm/i915/display/vlv_dsi.h | 13 +++ drivers/gpu/drm/i915/display/vlv_dsi_pll.h | 9 ++ 19 files changed, 430 insertions(+)
Signature · 1 line
2.39.2