]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau: wait for the exclusive fence after the shared ones v2
authorChristian König <christian.koenig@amd.com>
Tue, 7 Dec 2021 09:10:15 +0000 (10:10 +0100)
committerChristian König <christian.koenig@amd.com>
Tue, 21 Dec 2021 08:24:31 +0000 (09:24 +0100)
commitf37670f0d86b6aa3e2600bb241c8c6d4898e93f5
treea5a228bdabaaf08cb52aeddaebdb9b0c26ba065a
parent53638692e32571a5ed665fb1876c8c42906ce884
drm/nouveau: wait for the exclusive fence after the shared ones v2

Always waiting for the exclusive fence resulted on some performance
regressions. So try to wait for the shared fences first, then the
exclusive fence should always be signaled already.

v2: fix incorrectly placed "(", add some comment why we do this.

Signed-off-by: Christian König <christian.koenig@amd.com>
Tested-by: Stefan Fritsch <sf@sfritsch.de>
Tested-by: Dan Moulding <dmoulding@me.com>
Acked-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Cc: <stable@vger.kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20211209102335.18321-1-christian.koenig@amd.com
drivers/gpu/drm/nouveau/nouveau_fence.c