]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit42ded67452ba8e33d46c24dbdf219ed4998a27d3
tree7737d78178617a284dfa8d7ce6e6e424914b829a
parentce22d332d83bac1f945cfb367a74583783c51690
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