OSDN Git Service

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)
commit55f7f72753abdd46f35d027a25b43969dba56fac
tree6dee98cd03188b360d3ac017ccf93f55e137c86c
parentf2b816d78a94319b7230430c3d1f99d9f1cb5bd0
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