drm/bochs: Modernize driver
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest10 patches 5 repliesIn review
- v110 patches 4 repliesSuperseded
Changes in v2 from the cover letter
- fix linker error (kernel test robot)
- fix mode validation
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | drm/bochs: Remove manual format test from fb_createdrivers/ | +1 | 0 replies | |
| 2/10 | drm/bochs: Use helpers for struct drm_ediddrivers/ | +22 | 3 replies | |
| 3/10 | drm/bochs: Do managed resource cleanupdrivers/ | +10 | 0 replies | |
| 4/10 | drm/bochs: Pass bochs device to various functionsdrivers/ | +6 | 0 replies | |
| 5/10 | drm/bochs: Upcast with to_bochs_device()drivers/ | +9 | 0 replies | |
| 6/10 | drm/bochs: Allocate DRM device in struct bochs_devicedrivers/ | +25 | 2 replies | |
| 7/10 | drm/bochs: Use regular atomic helpersdrivers/ | +132 | 0 replies | |
| 8/10 | drm/bochs: Use GEM SHMEM helpers for memory managementdrivers/ drivers/ | +38 | 0 replies | |
| 9/10 | drm/bochs: Validate display modes against available video memorydrivers/ | +20 | 0 replies | |
| 10/10 | drm/gem-vram: Remove support for simple display pipelinesdrivers/ include/ | +0 | 0 replies |
Reviews trailers per patch
All 10 patches have a Reviewed-by or Acked-by.
| Patch | Gerd Hoffmann |
|---|---|
| 1/10 | A-b |
| 2/10 | A-b |
| 3/10 | A-b |
| 4/10 | A-b |
| 5/10 | A-b |
| 6/10 | A-b |
| 7/10 | A-b |
| 8/10 | A-b |
| 9/10 | A-b |
| 10/10 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/10] drm/bochs: Modernize driver
(was: rm/bochs: Modernize driver)
Bochs is lagging behind the overall state of DRM. This series gives the driver an update.
Patch 1 removes duplicated functionality that is already handled by the DRM core.
Patches 2 and 3 streamlines driver cleanup. Patch 2 reworks EDID handling to follow current best practices. All buffers with EDID data will now be cleaned up automatically. Patch 3 adds managed cleanups for I/O resources. No fini function is needed.
Patches 4 to 6 embed struct drm_device in struct bochs_device and remove all uses of dev_private.
Patch 7 replaces simple display helpers with regular atomic helpers. The former are a mid-layer that is more often 'in the way' than helping. Regular atomic helpers are composable with each other. Simple-pipe is not.
Patch 8 replaces GEM VRAM with GEM SHMEM. The new memory manager is more reliable and allows for larger resolutions. Display updates were so slow that Gnome was unmanageable with a flickering cursor and single FPS. The new memory management makes Gnome at least useable.
Patch 9 implements display-mode validation against the available video memory. Modes should now be useable iff they passed mode_valid.
Patch 10 removes code from GEM VRAM helpers that is now no longer in use.
Tested with qemu emulation.
v2:
- fix linker error (kernel test robot)
- fix mode validation
Thomas Zimmermann (10):
drm/bochs: Remove manual format test from fb_create drm/bochs: Use helpers for struct drm_edid
drm/bochs: Do managed resource cleanup
drm/bochs: Pass bochs device to various functions drm/bochs: Upcast with to_bochs_device()
drm/bochs: Allocate DRM device in struct bochs_device drm/bochs: Use regular atomic helpers
drm/bochs: Use GEM SHMEM helpers for memory management drm/bochs: Validate display modes against available video memory drm/gem-vram: Remove support for simple display pipelines
drivers/gpu/drm/drm_gem_vram_helper.c | 45 --- drivers/gpu/drm/tiny/Kconfig | 4 +- drivers/gpu/drm/tiny/bochs.c | 384 +++++++++++++++----------- include/drm/drm_gem_vram_helper.h | 13 - 4 files changed, 224 insertions(+), 222 deletions(-)
Signature · 1 line
2.46.0