]> git.baikalelectronics.ru Git - kernel.git/commit
drm/core: Add drm_afbc_framebuffer and a corresponding helper
authorAndrzej Pietrasiewicz <andrzej.p@collabora.com>
Wed, 11 Mar 2020 14:55:37 +0000 (15:55 +0100)
committerAndrzej Pietrasiewicz <andrzej.p@collabora.com>
Wed, 18 Mar 2020 10:22:05 +0000 (11:22 +0100)
commit99cbc868f0afad1f0160af86963b1890d2108cc6
tree6dee98cd03188b360d3ac017ccf93f55e137c86c
parenta86e457f8a7cc0ab6a081d8f6fce28afa76d3d3d
drm/core: Add drm_afbc_framebuffer and a corresponding helper

The new struct contains afbc-specific data.

The new function can be used by drivers which support afbc to complete
the preparation of struct drm_afbc_framebuffer. It must be called after
allocating the said struct and calling drm_gem_fb_init_with_funcs().

Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: James Qian Wang <james.qian.wang@arm.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200311145541.29186-3-andrzej.p@collabora.com
Documentation/gpu/todo.rst
drivers/gpu/drm/drm_gem_framebuffer_helper.c
include/drm/drm_framebuffer.h
include/drm/drm_gem_framebuffer_helper.h