]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu: fix another missing fence reference in the CS code
authorChristian König <christian.koenig@amd.com>
Thu, 5 Jan 2023 09:45:36 +0000 (10:45 +0100)
committerChristian König <christian.koenig@amd.com>
Thu, 5 Jan 2023 19:34:58 +0000 (20:34 +0100)
commited21f6c3fe423b17211fa5a85cd028621a749a2a
tree5a25b5b5d7b4dc24f6f042ee7190043ecd0c52a7
parent83e79ae3216c70f2b63c935a4e089d1620e8ef01
drm/amdgpu: fix another missing fence reference in the CS code

drm_sched_job_add_dependency() consumes the references of the gang
members. Only triggered by mesh shaders.

Signed-off-by: Christian König <christian.koenig@amd.com>
Fixes: 1728baa7e4e6 ("drm/amdgpu: use scheduler dependencies for CS")
Tested-by: Mike Lothian <mike@fireburn.co.uk>
Tested-by: Bert Karwatzki <spasswolf@web.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230105111703.52695-1-christian.koenig@amd.com
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Luben Tuikov <luben.tuikov@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c