drm/gem-fb-helper: Add drm_gem_fb_create_with_dirty()
authorNoralf Trønnes <noralf@tronnes.org>
Tue, 15 Jan 2019 04:36:39 +0000 (05:36 +0100)
committerNoralf Trønnes <noralf@tronnes.org>
Thu, 17 Jan 2019 09:56:45 +0000 (10:56 +0100)
commitdbd62e16fd53d37093a4695692ceac1a470f0b3f
tree7737d78178617a284dfa8d7ce6e6e424914b829a
parent2de304b44d51b7d84d11b4d0942563fee5178c0e
drm/gem-fb-helper: Add drm_gem_fb_create_with_dirty()

This adds a .fb_create helper that sets the .dirty callback to
drm_atomic_helper_dirtyfb().

v2: Improve docs (Daniel)

Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190115043643.2364-2-noralf@tronnes.org
drivers/gpu/drm/drm_gem_framebuffer_helper.c
include/drm/drm_gem_framebuffer_helper.h