[PATCH 0/7] drm: Provide framebuffer dma-buf helpers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Provide helpers that wrap dma_buf_{begin,end}_cpu_access() for all
GEM BOs attached to a framebuffer. Convert drivers and remove ugly
boilerplate code.

Thomas Zimmermann (7):
  drm/gem: Provide drm_gem_fb_{begin,end}_cpu_access() helpers
  drm/udl: Use framebuffer dma-buf helpers
  drm/mipi-dbi: Use framebuffer dma-buf helpers
  drm/gud: Use framebuffer dma-buf helpers
  drm/gm12u320: Use framebuffer dma-buf helpers
  drm/repaper: Use framebuffer dma-buf helpers
  drm/st7586: Use framebuffer dma-buf helpers

 drivers/gpu/drm/drm_gem_framebuffer_helper.c | 89 ++++++++++++++++++++
 drivers/gpu/drm/drm_mipi_dbi.c               | 20 ++---
 drivers/gpu/drm/gud/gud_pipe.c               | 13 ++-
 drivers/gpu/drm/tiny/gm12u320.c              | 19 ++---
 drivers/gpu/drm/tiny/repaper.c               | 18 +---
 drivers/gpu/drm/tiny/st7586.c                | 18 ++--
 drivers/gpu/drm/udl/udl_modeset.c            | 29 ++-----
 include/drm/drm_gem_framebuffer_helper.h     |  6 ++
 8 files changed, 130 insertions(+), 82 deletions(-)

--
2.32.0




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux