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)
commit525bbf72dbe0004a009dc39b239dec74e8007f6f
tree85a92ab4b8d28e518d8dc850ee974b8e6e5e12a1
parent4b2b5e142ff499a2bef2b8db0272bbda1088a3fe
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