]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix amdgpu_job_free_resources v2
authorChristian König <christian.koenig@amd.com>
Thu, 12 Jan 2023 13:46:00 +0000 (14:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jan 2023 06:24:40 +0000 (07:24 +0100)
commit9813465e46258d0b90ab20d82efe84978d2d1cb6
treedb8ce2cc5b222d1b59ffb372bbcfb8ef22eac0fd
parent9597642ae48f1696488e8012874e67b5d0b9abed
drm/amdgpu: fix amdgpu_job_free_resources v2

commit afa9513a0e247228bce6dbfe477dd25324d65d84 upstream.

It can be that neither fence were initialized when we run out of UVD
streams for example.

v2: fix typo breaking compile

Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/2324
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 6.1.x
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c