Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] drm/xe: Make drm_driver const
@ 2026-05-12 18:33 Michal Wajdeczko
  2026-05-12 18:33 ` [PATCH 1/7] drm/xe: Drop unused drm/drm_atomic_helper.h include Michal Wajdeczko
                   ` (9 more replies)
  0 siblings, 10 replies; 18+ messages in thread
From: Michal Wajdeczko @ 2026-05-12 18:33 UTC (permalink / raw)
  To: intel-xe; +Cc: Michal Wajdeczko, Rodrigo Vivi, Jani Nikula

Today, to enable display support, we rely on making runtime modifications
to drm_driver definitions, but that is risky as drm_driver pointer is
shared by all xe device instances and we might introduce unwanted bits.

Fix that by relying on the updates to the drm_device.driver_features bits
instead, following the design of the 'driver_features' feature.

While around, make also some minor cleanups.

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>

Michal Wajdeczko (7):
  drm/xe: Drop unused drm/drm_atomic_helper.h include
  drm/xe/display: Drop xe_display_driver_remove() stub
  drm/xe/display: Prefer forward declarations
  drm/xe/display: Add macro with display driver ops
  drm/xe/display: Add macro with display driver features
  drm/xe/display: Drop xe_display_driver_set_hooks()
  drm/xe: Make drm_driver const

 drivers/gpu/drm/xe/display/xe_display.c | 33 ++++++++-----------------
 drivers/gpu/drm/xe/display/xe_display.h | 21 +++++++++++++---
 drivers/gpu/drm/xe/xe_device.c          | 13 +++++-----
 3 files changed, 34 insertions(+), 33 deletions(-)

-- 
2.47.1


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

end of thread, other threads:[~2026-05-14  1:01 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-12 18:33 [PATCH 0/7] drm/xe: Make drm_driver const Michal Wajdeczko
2026-05-12 18:33 ` [PATCH 1/7] drm/xe: Drop unused drm/drm_atomic_helper.h include Michal Wajdeczko
2026-05-13  8:56   ` Jani Nikula
2026-05-12 18:33 ` [PATCH 2/7] drm/xe/display: Drop xe_display_driver_remove() stub Michal Wajdeczko
2026-05-13  8:56   ` Jani Nikula
2026-05-12 18:33 ` [PATCH 3/7] drm/xe/display: Prefer forward declarations Michal Wajdeczko
2026-05-13  8:56   ` Jani Nikula
2026-05-12 18:33 ` [PATCH 4/7] drm/xe/display: Add macro with display driver ops Michal Wajdeczko
2026-05-13  8:55   ` Jani Nikula
2026-05-12 18:33 ` [PATCH 5/7] drm/xe/display: Add macro with display driver features Michal Wajdeczko
2026-05-13  9:01   ` Jani Nikula
2026-05-12 18:33 ` [PATCH 6/7] drm/xe/display: Drop xe_display_driver_set_hooks() Michal Wajdeczko
2026-05-13  9:01   ` Jani Nikula
2026-05-12 18:33 ` [PATCH 7/7] drm/xe: Make drm_driver const Michal Wajdeczko
2026-05-13  9:01   ` Jani Nikula
2026-05-13  3:36 ` ✓ CI.KUnit: success for " Patchwork
2026-05-13  5:12 ` ✓ Xe.CI.BAT: " Patchwork
2026-05-14  1:01 ` ✗ Xe.CI.FULL: failure " Patchwork

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