Skip to content

drm/i915: Convert fbdev to DRM client

Thomas Zimmermann dri-devel intel-gfx oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/i915: Move fbdev functionsdrivers/gpu/drm/i915/display/intel_fbdev.c+77 -770 replies
2/4drm/i915: Initialize fbdev DRM client with callback functionsdrivers/gpu/drm/i915/display/intel_fbdev.c+39 -42 replies
3/4drm/i915: Implement fbdev client callbacksdrivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/i915/display/intel_fbdev.c drivers/gpu/drm/i915/display/intel_fbdev.h +1 more+9 -340 replies
4/4drm/i915: Implement fbdev emulation as in-kernel clientdrivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/i915/display/intel_fbdev.c drivers/gpu/drm/i915/display/intel_fbdev.h +1 more+87 -1493 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/4] drm/i915: Convert fbdev to DRM client

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, hopefully.

Once all drivers' fbdev emulation has been converted to struct drm_client, we can 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.

Tested on Intel HD 530 hardware.

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 |  31 ---
 drivers/gpu/drm/i915/display/intel_fbdev.c   | 254 ++++++++++---------
 drivers/gpu/drm/i915/display/intel_fbdev.h   |  29 +--
 drivers/gpu/drm/i915/i915_driver.c           |  24 +-
 4 files changed, 143 insertions(+), 195 deletions(-)

base-commit: 6e5f96153989e454041848f66a5227be9bd0bbc3

Signature · 1 line
2.40.0