drm: Add GEM backed framebuffer library
authorNoralf Trønnes <noralf@tronnes.org>
Sun, 13 Aug 2017 13:31:44 +0000 (15:31 +0200)
committerNoralf Trønnes <noralf@tronnes.org>
Wed, 16 Aug 2017 19:32:23 +0000 (21:32 +0200)
commit4c3dbb2c312c9fafbac30d98c523b8b1f3455d78
tree901be83c520677157cb770881c39e472c99305c4
parentd956e1293b9b43f3a9a508162cdbaa96cf02e6e0
drm: Add GEM backed framebuffer library

This library provides helpers for drivers that don't subclass
drm_framebuffer and are backed by drm_gem_object. The code is
taken from drm_fb_cma_helper.

Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/1502631125-13557-2-git-send-email-noralf@tronnes.org
Documentation/gpu/drm-kms-helpers.rst
drivers/gpu/drm/Makefile
drivers/gpu/drm/drm_gem_framebuffer_helper.c [new file with mode: 0644]
include/drm/drm_framebuffer.h
include/drm/drm_gem_framebuffer_helper.h [new file with mode: 0644]