[PATCH v4 00/10] 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.

Ack's have been trickling in the last month but seem to have stopped
now, so these are the ones left plus a new one: tve200

Noralf.

Changes since version 3:
- Added tve200

Changes since version 2:
- Expanded docs (Daniel)
- Add drm_gem_fbdev_fb_create() instead of exporting drm_gem_fb_alloc().
This function is used by drivers/helpers to create a drm_framebuffer for
use with fbdev emulation.
- drm_gem_object_put_unlocked() is NULL tolerant (Joe Kniss)
- Rebase tinydrm patch on new st7586 driver
- Rebase arc and pl111 patches on 'drm: make drm_mode_config_func const'

Changes since version 1:
- Pushed the new functions out to the cma drivers, so I could clean up
the cma library.

Noralf Trønnes (10):
  drm/tinydrm: Use drm_gem_framebuffer_helper
  drm/fsl-dcu: Use drm_gem_fb_create()
  drm/hisilicon/kirin: Use drm_gem_fb_create()
  drm/meson: Use drm_gem_fb_create()
  drm/mxsfb: Use drm_gem_fb_create() and drm_gem_fb_prepare_fb()
  drm/rcar-du: Use drm_gem_fb_create()
  drm/shmobile: Use drm_gem_fb_create()
  drm/sun4i: Use drm_gem_fb_create()
  drm/tve200: Use drm_gem_fb_create() and drm_gem_fb_prepare_fb()
  drm/fb-cma-helper: Remove unused functions

 drivers/gpu/drm/drm_fb_cma_helper.c             | 77 +------------------------
 drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_kms.c       |  3 +-
 drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c |  3 +-
 drivers/gpu/drm/meson/meson_drv.c               |  3 +-
 drivers/gpu/drm/mxsfb/mxsfb_drv.c               |  5 +-
 drivers/gpu/drm/rcar-du/rcar_du_kms.c           |  3 +-
 drivers/gpu/drm/shmobile/shmob_drm_kms.c        |  3 +-
 drivers/gpu/drm/sun4i/sun4i_framebuffer.c       |  3 +-
 drivers/gpu/drm/tinydrm/core/tinydrm-core.c     |  3 +-
 drivers/gpu/drm/tinydrm/core/tinydrm-pipe.c     |  5 +-
 drivers/gpu/drm/tinydrm/mipi-dbi.c              |  5 +-
 drivers/gpu/drm/tinydrm/repaper.c               |  5 +-
 drivers/gpu/drm/tinydrm/st7586.c                |  5 +-
 drivers/gpu/drm/tve200/tve200_display.c         |  3 +-
 drivers/gpu/drm/tve200/tve200_drv.c             |  3 +-
 include/drm/drm_fb_cma_helper.h                 | 13 -----
 16 files changed, 36 insertions(+), 106 deletions(-)

-- 
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