dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/5] drm/cirrus: rewrite and modernize driver.
@ 2019-04-05  9:52 Gerd Hoffmann
  2019-04-05  9:52 ` [PATCH v3 1/5] drm: move tinydrm format conversion helpers to new drm_format_helper.c Gerd Hoffmann
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Gerd Hoffmann @ 2019-04-05  9:52 UTC (permalink / raw)
  To: dri-devel; +Cc: sam, Gerd Hoffmann

v3:
 - move tinydrm converters to new drm_format_helpers.[ch]
 - drop dstclip bool argument, use multiple functions instead (with
   common code factored out into a helper).
 - rewrite cirrus register access to use helpers instead of macros.
 - misc minor fixes.
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 (5):
  drm: move tinydrm format conversion helpers to new drm_format_helper.c
  drm: add drm_fb_memcpy_dstclip() helper
  drm: add drm_fb_xrgb8888_to_rgb565_dstclip()
  drm: add drm_fb_xrgb8888_to_rgb888_dstclip()
  drm/cirrus: rewrite and modernize driver.

 drivers/gpu/drm/cirrus/cirrus_drv.h           | 251 -------
 include/drm/drm_format_helper.h               |  34 +
 include/drm/tinydrm/tinydrm-helpers.h         |  10 -
 drivers/gpu/drm/cirrus/cirrus.c               | 657 ++++++++++++++++++
 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_format_helper.c           | 326 +++++++++
 .../gpu/drm/tinydrm/core/tinydrm-helpers.c    | 158 -----
 drivers/gpu/drm/tinydrm/mipi-dbi.c            |   7 +-
 drivers/gpu/drm/tinydrm/repaper.c             |   3 +-
 drivers/gpu/drm/tinydrm/st7586.c              |   3 +-
 drivers/gpu/drm/Makefile                      |   3 +-
 drivers/gpu/drm/cirrus/Kconfig                |   2 +-
 drivers/gpu/drm/cirrus/Makefile               |   3 -
 17 files changed, 1028 insertions(+), 2187 deletions(-)
 delete mode 100644 drivers/gpu/drm/cirrus/cirrus_drv.h
 create mode 100644 include/drm/drm_format_helper.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
 create mode 100644 drivers/gpu/drm/drm_format_helper.c

-- 
2.18.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-04-15  9:31 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-05  9:52 [PATCH v3 0/5] drm/cirrus: rewrite and modernize driver Gerd Hoffmann
2019-04-05  9:52 ` [PATCH v3 1/5] drm: move tinydrm format conversion helpers to new drm_format_helper.c Gerd Hoffmann
2019-04-05 13:46   ` Noralf Trønnes
2019-04-15  9:31   ` Daniel Vetter
2019-04-05  9:52 ` [PATCH v3 2/5] drm: add drm_fb_memcpy_dstclip() helper Gerd Hoffmann
2019-04-05 13:51   ` Noralf Trønnes
2019-04-05  9:52 ` [PATCH v3 3/5] drm: add drm_fb_xrgb8888_to_rgb565_dstclip() Gerd Hoffmann
2019-04-05 13:57   ` Noralf Trønnes
2019-04-05  9:52 ` [PATCH v3 4/5] drm: add drm_fb_xrgb8888_to_rgb888_dstclip() Gerd Hoffmann
2019-04-05 13:59   ` Noralf Trønnes
2019-04-05  9:52 ` [PATCH v3 5/5] drm/cirrus: rewrite and modernize driver Gerd Hoffmann
2019-04-05 14:43   ` Noralf Trønnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).