Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH v2 0/4] drm/i915: Convert fbdev to DRM client
@ 2023-09-13 14:58 Thomas Zimmermann
  2023-09-13 14:58 ` [Intel-gfx] [PATCH v2 1/4] drm/i915: Move fbdev functions Thomas Zimmermann
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Thomas Zimmermann @ 2023-09-13 14:58 UTC (permalink / raw)
  To: jani.nikula, joonas.lahtinen, rodrigo.vivi, tvrtko.ursulin,
	ville.syrjala, imre.deak, tejas.upadhyay, javierm, airlied,
	daniel
  Cc: intel-gfx, Thomas Zimmermann, dri-devel

Convert i915's fbdev code to struct drm_client. Replaces the current
ad-hoc integration. The conversion includes a number of cleanups.

As with most other driver's fbdev emulation, fbdev in i915 is now
just another DRM client that runs after the DRM device has been
registered. This allows to remove the asynchronous initialization.

I've long wanted to send out an update for this patchset. i915
is the last driver with an fbdev emulation that is not build upon
struct drm_client. Once reviewed, the patches would ideally go
into drm-misc-next, so that the old fbdev helper code can be removed.
We can also attempt to add additional in-kernel clients. A DRM-based
dmesg log or a bootsplash are commonly mentioned. DRM can then switch
easily among the existing clients if/when required.

v2:
	* fix error handling (Jani)
	* fix non-fbdev builds
	* various minor fixes and cleanups

Thomas Zimmermann (4):
  drm/i915: Move fbdev functions
  drm/i915: Initialize fbdev DRM client with callback functions
  drm/i915: Implement fbdev client callbacks
  drm/i915: Implement fbdev emulation as in-kernel client

 drivers/gpu/drm/i915/display/intel_display.c  |   1 -
 .../drm/i915/display/intel_display_driver.c   |  19 --
 drivers/gpu/drm/i915/display/intel_fbdev.c    | 250 ++++++++++--------
 drivers/gpu/drm/i915/display/intel_fbdev.h    |  29 +-
 drivers/gpu/drm/i915/i915_driver.c            |  24 +-
 5 files changed, 139 insertions(+), 184 deletions(-)


base-commit: f8d21cb17a99b75862196036bb4bb93ee9637b74
-- 
2.42.0


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

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

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-13 14:58 [Intel-gfx] [PATCH v2 0/4] drm/i915: Convert fbdev to DRM client Thomas Zimmermann
2023-09-13 14:58 ` [Intel-gfx] [PATCH v2 1/4] drm/i915: Move fbdev functions Thomas Zimmermann
2023-09-13 14:58 ` [Intel-gfx] [PATCH v2 2/4] drm/i915: Initialize fbdev DRM client with callback functions Thomas Zimmermann
2023-09-13 14:58 ` [Intel-gfx] [PATCH v2 3/4] drm/i915: Implement fbdev client callbacks Thomas Zimmermann
2023-09-13 14:58 ` [Intel-gfx] [PATCH v2 4/4] drm/i915: Implement fbdev emulation as in-kernel client Thomas Zimmermann
2023-09-13 22:34 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Convert fbdev to DRM client (rev2) Patchwork
2023-09-13 22:50 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
2023-09-21 14:24   ` Jani Nikula
2023-09-21 15:12     ` Thomas Zimmermann
2023-09-22 15:29     ` Thomas Zimmermann

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