]> 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)
commit2241687cbe0d2235f35bc43740f15161001ef190
tree85a92ab4b8d28e518d8dc850ee974b8e6e5e12a1
parentfa63d63bd0ea9664d90f77c15beb7d1daed9f276
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