Replace hibmc code with generic implmentation
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest5 patches 0 repliesNew
- v25 patches 0 repliesSuperseded
- v14 patches 9 repliesSuperseded
Changes in v3 from the cover letter
* only do power-of-2 test if pitch_align is given
* update mgag200 for changes to drm_gem_vram_fill_create_dumb()
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | drm/hisilicon/hibmc: Switch to generic fbdev emulationdrivers/ drivers/ drivers/ +1 more | +3 | 0 replies | |
| 2/5 | drm/hisilicon/hibmc: Replace struct hibmc_framebuffer with generic codedrivers/ drivers/ drivers/ | +3 | 0 replies | |
| 3/5 | drm/vram: Support scanline alignment for dumb buffersdrivers/ drivers/ include/ | +12 | 0 replies | |
| 4/5 | drm/hisilicon/hibmc: Implement hibmc_dumb_create() with generic helpersdrivers/ drivers/ | +2 | 0 replies | |
| 5/5 | drm/hisilicon/hibmc: Export VRAM MM information to debugfsdrivers/ | +1 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Daniel Vetter | Sam Ravnborg |
|---|---|---|
| 1/5 | R-b | A-b |
| 2/5 | R-b | A-b |
| 3/5 | R-b | A-b |
| 4/5 | R-b | A-b |
| 5/5 | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/5] Replace hibmc code with generic implmentation
The patch set replaces code in hibmc with generic implementation. Version 3 of the patchset only adds fixes. I'm reposting the whole thing for possible testers.
Patches 1 to 4 replace fbdev emuation, framebuffer and creation of dumb buffers with respective code from DRM helpers. Patch 5 adds an additional interface to debugfs that displays the allocated and free areas in video memory.
The patches have only been compile-tested. Further testing is appreciated.
v3:
* only do power-of-2 test if pitch_align is given
* update mgag200 for changes to drm_gem_vram_fill_create_dumb()
v2:
* split [3/4] into vram and hibmc changes
* verify that pitch_align is power of two
Thomas Zimmermann (5):
drm/hisilicon/hibmc: Switch to generic fbdev emulation drm/hisilicon/hibmc: Replace struct hibmc_framebuffer with generic
code
drm/vram: Support scanline alignment for dumb buffers drm/hisilicon/hibmc: Implement hibmc_dumb_create() with generic
helpers
drm/hisilicon/hibmc: Export VRAM MM information to debugfs
drivers/gpu/drm/drm_gem_vram_helper.c | 13 +- drivers/gpu/drm/hisilicon/hibmc/Makefile | 2 +- .../gpu/drm/hisilicon/hibmc/hibmc_drm_de.c | 4 +- .../gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 6 +- .../gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 26 -- .../gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c | 240 ------------------ drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c | 117 +-------- drivers/gpu/drm/mgag200/mgag200_drv.c | 2 +- include/drm/drm_gem_vram_helper.h | 1 + 9 files changed, 21 insertions(+), 390 deletions(-) delete mode 100644 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c
--
2.23.0
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel