All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-xe] [PATCH 0/7] Encapsulate display
@ 2023-03-02  1:34 Lucas De Marchi
  2023-03-02  1:34 ` [Intel-xe] [PATCH 1/7] drm/xe: Fix typo persitent->persistent Lucas De Marchi
                   ` (9 more replies)
  0 siblings, 10 replies; 17+ messages in thread
From: Lucas De Marchi @ 2023-03-02  1:34 UTC (permalink / raw)
  To: intel-xe; +Cc: Lucas De Marchi, Matt Roper, maarten.lankhorst, Rodrigo Vivi

Since the addition of display, the entire driver is built with
additional CFLAGS to allow the i915 types/headers to be used.  This has
already been problematic as the i915_reg_t and i915_mcr_reg_t were
conflated.

Completely removing this dependency is still not achieved as it would
mean making the structs opaque. However since now there is support for
compiling without display, with a few more ifdefs it's possible to make
sure the driver continues to work without those types/headers. So, move
the display-related initialization inside xe_display.c and remove the
CFLAGS when display is disabled.

Lucas De Marchi (7):
  drm/xe: Fix typo persitent->persistent
  drm/xe/display: Fix return code for deferred probing
  drm/xe/display: Rename and clarify xe_display_enable()
  drm/xe/display: Move display sw init to xe_display.c
  drm/xe/display: Move device info initialization to display
  drm/xe/display: Rename GEN13_DISPLAY
  drm/xe: Remove i915 header dependency when building without display

 drivers/gpu/drm/xe/Makefile          |   6 -
 drivers/gpu/drm/xe/xe_device.c       |  75 ++++-------
 drivers/gpu/drm/xe/xe_device.h       |   6 +-
 drivers/gpu/drm/xe/xe_device_types.h |  17 ++-
 drivers/gpu/drm/xe/xe_display.c      | 183 ++++++++++++++++++++++++++-
 drivers/gpu/drm/xe/xe_display.h      |  25 ++--
 drivers/gpu/drm/xe/xe_engine.c       |   6 +-
 drivers/gpu/drm/xe/xe_engine_types.h |   6 +-
 drivers/gpu/drm/xe/xe_execlist.c     |   2 +-
 drivers/gpu/drm/xe/xe_guc_submit.c   |   2 +-
 drivers/gpu/drm/xe/xe_pci.c          |  90 +------------
 11 files changed, 252 insertions(+), 166 deletions(-)

-- 
2.39.0


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

end of thread, other threads:[~2023-03-03  1:22 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-02  1:34 [Intel-xe] [PATCH 0/7] Encapsulate display Lucas De Marchi
2023-03-02  1:34 ` [Intel-xe] [PATCH 1/7] drm/xe: Fix typo persitent->persistent Lucas De Marchi
2023-03-02  1:34 ` [Intel-xe] [PATCH 2/7] drm/xe/display: Fix return code for deferred probing Lucas De Marchi
2023-03-02  1:34 ` [Intel-xe] [PATCH 3/7] drm/xe/display: Rename and clarify xe_display_enable() Lucas De Marchi
2023-03-02  1:34 ` [Intel-xe] [PATCH 4/7] drm/xe/display: Move display sw init to xe_display.c Lucas De Marchi
2023-03-02  1:34 ` [Intel-xe] [PATCH 5/7] drm/xe/display: Move device info initialization to display Lucas De Marchi
2023-03-02 14:43   ` Jani Nikula
2023-03-02 14:44     ` Jani Nikula
2023-03-02 15:23       ` Lucas De Marchi
2023-03-02 15:22     ` Lucas De Marchi
2023-03-02  1:34 ` [Intel-xe] [PATCH 6/7] drm/xe/display: Rename GEN13_DISPLAY Lucas De Marchi
2023-03-02  1:34 ` [Intel-xe] [PATCH 7/7] drm/xe: Remove i915 header dependency when building without display Lucas De Marchi
2023-03-02 11:56   ` Maarten Lankhorst
2023-03-03  1:22     ` Lucas De Marchi
2023-03-02  1:37 ` [Intel-xe] ✓ CI.Patch_applied: success for Encapsulate display Patchwork
2023-03-02  1:39 ` [Intel-xe] ✓ CI.KUnit: " Patchwork
2023-03-02  1:42 ` [Intel-xe] ✓ CI.Build: " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.