Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH 00/19] drm/i915: prepare for xe driver display integration
@ 2023-09-12 11:06 Jani Nikula
  2023-09-12 11:06 ` [Intel-gfx] [PATCH 01/19] drm/i915: define I915 during i915 driver build Jani Nikula
                   ` (26 more replies)
  0 siblings, 27 replies; 29+ messages in thread
From: Jani Nikula @ 2023-09-12 11:06 UTC (permalink / raw)
  To: intel-gfx
  Cc: jani.nikula, Lucas De Marchi, dri-devel, Daniel Vetter,
	Rodrigo Vivi, David Airlie

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 <airlied@gmail.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>

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(+)

-- 
2.39.2


^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2023-09-29 11:03 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-12 11:06 [Intel-gfx] [PATCH 00/19] drm/i915: prepare for xe driver display integration Jani Nikula
2023-09-12 11:06 ` [Intel-gfx] [PATCH 01/19] drm/i915: define I915 during i915 driver build Jani Nikula
2023-09-12 11:06 ` [Intel-gfx] [PATCH 02/19] drm/i915/display: add I915 conditional build to intel_lvds.h Jani Nikula
2023-09-12 11:06 ` [Intel-gfx] [PATCH 03/19] drm/i915/display: add I915 conditional build to hsw_ips.h Jani Nikula
2023-09-12 11:06 ` [Intel-gfx] [PATCH 04/19] drm/i915/display: add I915 conditional build to i9xx_plane.h Jani Nikula
2023-09-12 11:06 ` [Intel-gfx] [PATCH 05/19] drm/i915/display: add I915 conditional build to intel_lpe_audio.h Jani Nikula
2023-09-12 11:06 ` [Intel-gfx] [PATCH 06/19] drm/i915/display: add I915 conditional build to intel_pch_refclk.h Jani Nikula
2023-09-12 11:06 ` [Intel-gfx] [PATCH 07/19] drm/i915/display: add I915 conditional build to intel_pch_display.h Jani Nikula
2023-09-12 11:06 ` [Intel-gfx] [PATCH 08/19] drm/i915/display: add I915 conditional build to intel_sprite.h Jani Nikula
2023-09-12 11:06 ` [Intel-gfx] [PATCH 09/19] drm/i915/display: add I915 conditional build to intel_overlay.h Jani Nikula
2023-09-12 11:06 ` [Intel-gfx] [PATCH 10/19] drm/i915/display: add I915 conditional build to g4x_dp.h Jani Nikula
2023-09-12 11:06 ` [Intel-gfx] [PATCH 11/19] drm/i915/display: add I915 conditional build to intel_dpio_phy.h Jani Nikula
2023-09-12 11:06 ` [Intel-gfx] [PATCH 12/19] drm/i915/display: add I915 conditional build to intel_crt.h Jani Nikula
2023-09-12 11:06 ` [Intel-gfx] [PATCH 13/19] drm/i915/display: add I915 conditional build to vlv_dsi.h Jani Nikula
2023-09-12 11:06 ` [Intel-gfx] [PATCH 14/19] drm/i915/display: add I915 conditional build to i9xx_wm.h Jani Nikula
2023-09-12 11:06 ` [Intel-gfx] [PATCH 15/19] drm/i915/display: add I915 conditional build to g4x_hdmi.h Jani Nikula
2023-09-12 11:06 ` [Intel-gfx] [PATCH 16/19] drm/i915/display: add I915 conditional build to intel_dvo.h Jani Nikula
2023-09-12 11:06 ` [Intel-gfx] [PATCH 17/19] drm/i915/display: add I915 conditional build to intel_sdvo.h Jani Nikula
2023-09-12 11:06 ` [Intel-gfx] [PATCH 18/19] drm/i915/display: add I915 conditional build to intel_tv.h Jani Nikula
2023-09-12 11:06 ` [Intel-gfx] [PATCH 19/19] drm/i915/display: add I915 conditional build to vlv_dsi_pll.h Jani Nikula
2023-09-12 19:13 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: prepare for xe driver display integration Patchwork
2023-09-12 19:13 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2023-09-12 19:30 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
2023-09-13 20:11 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: prepare for xe driver display integration (rev2) Patchwork
2023-09-13 20:11 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2023-09-13 20:23 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-09-14  0:53 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2023-09-14 14:53 ` [Intel-gfx] [PATCH 00/19] drm/i915: prepare for xe driver display integration Rodrigo Vivi
2023-09-29 11:03   ` Jani Nikula

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox