]> 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)
commit8ec909d57f2c70073e36906d58e54fb2b06e4047
treea5a228bdabaaf08cb52aeddaebdb9b0c26ba065a
parentb34e1fb35ab4b40b64fa108088b871c8e09ad050
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