OSDN Git Service

drm/nouveau: use the new interator in nv50_wndw_prepare_fb
authorChristian König <christian.koenig@amd.com>
Mon, 13 Sep 2021 12:08:13 +0000 (14:08 +0200)
committerChristian König <christian.koenig@amd.com>
Fri, 29 Oct 2021 08:17:06 +0000 (10:17 +0200)
commitbdf6aa22204e1250e217e79e77db38753a6731de
tree65b9008bb1591d324cb0bf3f3bdd261f78e66ccc
parent74c1bda2f3fa79a93e1c910008649b49b02dc09d
drm/nouveau: use the new interator in nv50_wndw_prepare_fb

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

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-27-christian.koenig@amd.com
drivers/gpu/drm/nouveau/dispnv50/wndw.c