[PATCH 0/4] Replace hibmc code with generic implmentation
Thomas Zimmermann
tzimmermann at suse.de
Fri Nov 22 08:30:40 UTC 2019
The patch set replaces code in hibmc with generic implementation.
Patches 1 to 3 replace fbdev emuation, framebuffer and creation of
dumb buffers with respective code from DRM helpers. Patch 4 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.
Thomas Zimmermann (4):
drm/hisilicon/hibmc: Switch to generic fbdev emulation
drm/hisilicon/hibmc: Replace struct hibmc_framebuffer with generic
code
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 | 10 +-
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 +--------
include/drm/drm_gem_vram_helper.h | 1 +
8 files changed, 17 insertions(+), 389 deletions(-)
delete mode 100644 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c
--
2.23.0
More information about the dri-devel
mailing list