drm/amdgpu: vcn_4_0 set instance 0 init sched score to 1
authorSonny Jiang <sonjiang@amd.com>
Tue, 6 Jun 2023 21:18:52 +0000 (17:18 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Jun 2023 14:43:26 +0000 (10:43 -0400)
commit188d3f80fc6d8451ab5e570becd6a7b2d3033023
treeb2a39d3ffc2490a075eb339d092f5a423c84eab4
parentc069dbbcba7319c514536820f2782a0af3361811
drm/amdgpu: vcn_4_0 set instance 0 init sched score to 1

Only vcn0 can process AV1 codecx. In order to use both vcn0 and
vcn1 in h264/265 transcode to AV1 cases, set vcn0 sched score to 1
at initialization time.

Signed-off-by: Sonny Jiang <sonjiang@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c