[PATCH v2 0/6] drm/cirrus: rewrite and modernize driver.
Gerd Hoffmann
kraxel at redhat.com
Thu Apr 4 15:24:24 UTC 2019
v2:
- It's a little series now. It moves tinydrm converters
to drm_fb_helpers.c first.
- Added support for RG24 and XR24. Without bpp module
parameter, instead the driver will convert formats if
needed.
- A bunch of little tweaks here and there (embedded
struct drm_driver, use more drm helpers, ...)
Gerd Hoffmann (6):
drm: move tinydrm_memcpy() to drm_fb_helper.c
drm: add dstclip parameter to drm_fb_memcpy()
drm: move tinydrm_xrgb8888_to_rgb565() to drm_fb_helper.c
drm: add dstclip parameter to drm_fb_xrgb8888_to_rgb565()
drm: add drm_fb_xrgb8888_to_rgb888() function to drm_fb_helper.c
drm/cirrus: rewrite and modernize driver.
drivers/gpu/drm/cirrus/cirrus_drv.h | 251 -------
include/drm/drm_fb_helper.h | 11 +
include/drm/tinydrm/tinydrm-helpers.h | 5 -
drivers/gpu/drm/cirrus/cirrus.c | 621 ++++++++++++++++++
drivers/gpu/drm/cirrus/cirrus_drv.c | 161 -----
drivers/gpu/drm/cirrus/cirrus_fbdev.c | 309 ---------
drivers/gpu/drm/cirrus/cirrus_main.c | 328 ---------
drivers/gpu/drm/cirrus/cirrus_mode.c | 617 -----------------
drivers/gpu/drm/cirrus/cirrus_ttm.c | 343 ----------
drivers/gpu/drm/drm_fb_helper.c | 127 ++++
.../gpu/drm/tinydrm/core/tinydrm-helpers.c | 69 --
drivers/gpu/drm/tinydrm/mipi-dbi.c | 5 +-
drivers/gpu/drm/cirrus/Kconfig | 2 +-
drivers/gpu/drm/cirrus/Makefile | 3 -
14 files changed, 763 insertions(+), 2089 deletions(-)
delete mode 100644 drivers/gpu/drm/cirrus/cirrus_drv.h
create mode 100644 drivers/gpu/drm/cirrus/cirrus.c
delete mode 100644 drivers/gpu/drm/cirrus/cirrus_drv.c
delete mode 100644 drivers/gpu/drm/cirrus/cirrus_fbdev.c
delete mode 100644 drivers/gpu/drm/cirrus/cirrus_main.c
delete mode 100644 drivers/gpu/drm/cirrus/cirrus_mode.c
delete mode 100644 drivers/gpu/drm/cirrus/cirrus_ttm.c
--
2.18.1
More information about the dri-devel
mailing list