[PATCH 0/4] drm: Add GEM backed framebuffer library

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

 



This adds helpers for drivers that don't subclass drm_framebuffer and
are backed by drm_gem_object(s). drm_fb_cma_helper is converted to use
the helpers.

This patchset is part of a process to add a shmem gem library like the
cma library. The common parts between the two goes into core or helpers.

I haven't pushed the helpers all the way out to the cma using drivers.
This project has fanned out enough already.

Noralf.

Noralf Trønnes (4):
  drm: Add GEM backed framebuffer library
  drm/fb-cma-helper: Use drm_gem_framebuffer_helper
  drm/tinydrm: Use drm_gem_framebuffer_helper
  drm/fb-cma-helper: Remove drm_framebuffer_funcs helpers

 Documentation/gpu/drm-kms-helpers.rst        |   9 +
 drivers/gpu/drm/Makefile                     |   2 +-
 drivers/gpu/drm/drm_fb_cma_helper.c          | 181 +++----------------
 drivers/gpu/drm/drm_gem_framebuffer_helper.c | 252 +++++++++++++++++++++++++++
 drivers/gpu/drm/tinydrm/core/tinydrm-core.c  |   3 +-
 drivers/gpu/drm/tinydrm/mipi-dbi.c           |   5 +-
 drivers/gpu/drm/tinydrm/repaper.c            |   5 +-
 include/drm/drm_fb_cma_helper.h              |   4 -
 include/drm/drm_framebuffer.h                |   4 +
 include/drm/drm_gem_framebuffer_helper.h     |  35 ++++
 10 files changed, 337 insertions(+), 163 deletions(-)
 create mode 100644 drivers/gpu/drm/drm_gem_framebuffer_helper.c
 create mode 100644 include/drm/drm_gem_framebuffer_helper.h

-- 
2.7.4

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




[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