]> git.baikalelectronics.ru Git - kernel.git/commit
drm: use new iterator in drm_gem_plane_helper_prepare_fb v3
authorChristian König <christian.koenig@amd.com>
Mon, 13 Sep 2021 11:47:53 +0000 (13:47 +0200)
committerChristian König <christian.koenig@amd.com>
Mon, 25 Oct 2021 07:33:22 +0000 (09:33 +0200)
commit85403205cf2b63a7ce2f543f4c2237638f1d5a69
tree85a92ab4b8d28e518d8dc850ee974b8e6e5e12a1
parent50bd13261f1fef8a0487a1271c6e3e2030a1c35f
drm: use new iterator in drm_gem_plane_helper_prepare_fb v3

Makes the handling a bit more complex, but avoids the use of
dma_resv_get_excl_unlocked().

v2: improve coding and documentation
v3: adjust the TODO comment as suggested by Daniel

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20211005113742.1101-25-christian.koenig@amd.com
drivers/gpu/drm/drm_gem_atomic_helper.c