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)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 17 Jan 2023 21:11:52 +0000 (16:11 -0500)
commit1427a720273976a81d13d9d9fa60d53ce881cbd7
treedcf35509ccbab4502d51166548b4a5dab8d7981e
parent4da9932efe84c0cce852c91346d659ed36adacb1
drm/amdgpu: fix amdgpu_job_free_resources v2

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>
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c