Skip to content

drm/i915: prepare for xe driver display integration

Jani Nikula dri-devel intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest19 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19drm/i915: define I915 during i915 driver builddrivers/gpu/drm/i915/Makefile+4 -00 replies
2/19drm/i915/display: add I915 conditional build to intel_lvds.hdrivers/gpu/drm/i915/display/intel_lvds.h+19 -00 replies
3/19drm/i915/display: add I915 conditional build to hsw_ips.hdrivers/gpu/drm/i915/display/hsw_ips.h+35 -00 replies
4/19drm/i915/display: add I915 conditional build to i9xx_plane.hdrivers/gpu/drm/i915/display/i9xx_plane.h+23 -00 replies
5/19drm/i915/display: add I915 conditional build to intel_lpe_audio.hdrivers/gpu/drm/i915/display/intel_lpe_audio.h+18 -00 replies
6/19drm/i915/display: add I915 conditional build to intel_pch_refclk.hdrivers/gpu/drm/i915/display/intel_pch_refclk.h+23 -00 replies
7/19drm/i915/display: add I915 conditional build to intel_pch_display.hdrivers/gpu/drm/i915/display/intel_pch_display.h+53 -00 replies
8/19drm/i915/display: add I915 conditional build to intel_sprite.hdrivers/gpu/drm/i915/display/intel_sprite.h+8 -00 replies
9/19drm/i915/display: add I915 conditional build to intel_overlay.hdrivers/gpu/drm/i915/display/intel_overlay.h+35 -00 replies
10/19drm/i915/display: add I915 conditional build to g4x_dp.hdrivers/gpu/drm/i915/display/g4x_dp.h+26 -00 replies
11/19drm/i915/display: add I915 conditional build to intel_dpio_phy.hdrivers/gpu/drm/i915/display/intel_dpio_phy.h+96 -00 replies
12/19drm/i915/display: add I915 conditional build to intel_crt.hdrivers/gpu/drm/i915/display/intel_crt.h+14 -00 replies
13/19drm/i915/display: add I915 conditional build to vlv_dsi.hdrivers/gpu/drm/i915/display/vlv_dsi.h+13 -00 replies
14/19drm/i915/display: add I915 conditional build to i9xx_wm.hdrivers/gpu/drm/i915/display/i9xx_wm.h+17 -00 replies
15/19drm/i915/display: add I915 conditional build to g4x_hdmi.hdrivers/gpu/drm/i915/display/g4x_hdmi.h+12 -00 replies
16/19drm/i915/display: add I915 conditional build to intel_dvo.hdrivers/gpu/drm/i915/display/intel_dvo.h+6 -00 replies
17/19drm/i915/display: add I915 conditional build to intel_sdvo.hdrivers/gpu/drm/i915/display/intel_sdvo.h+13 -00 replies
18/19drm/i915/display: add I915 conditional build to intel_tv.hdrivers/gpu/drm/i915/display/intel_tv.h+6 -00 replies
19/19drm/i915/display: add I915 conditional build to vlv_dsi_pll.hdrivers/gpu/drm/i915/display/vlv_dsi_pll.h+9 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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/

Cc David Airlie <[email protected]>
Cc Daniel Vetter <[email protected]>
Cc Joonas Lahtinen <[email protected]>
Cc Rodrigo Vivi <[email protected]>
Cc Tvrtko Ursulin <[email protected]>
Cc Lucas De Marchi <[email protected]>

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