drm/amdgpu: fix limiting AV1 to the first instance on VCN3
authorChristian König <christian.koenig@amd.com>
Fri, 3 Jun 2022 10:21:06 +0000 (12:21 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 8 Jun 2022 15:44:18 +0000 (11:44 -0400)
commit250195ff744f260c169f5427422b6f39c58cb883
treeb1133123090f6038124e99eb60fcd0baba155f9b
parent5b644783396b2150eeccb9a079498cad5dff3c42
drm/amdgpu: fix limiting AV1 to the first instance on VCN3

The job is not yet initialized here.

Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/2037
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Tested-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Fixes: cdc7893fc93f ("drm/amdgpu: use job and ib structures directly in CS parsers")
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c