Skip to content

Commit 45aa07f

Browse files
committed
drm/amdgpu/nv: fix codec array for SR_IOV
Copy paste error. Fixes: 3843341 ("drm/amdgpu/nv: don't expose AV1 if VCN0 is harvested") Reported-by: Abaci Robot <[email protected]> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4454 Cc: Jiapeng Chong <[email protected]> Acked-by: Guchun Chen <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 751281c commit 45aa07f

File tree

1 file changed

+2
-2
lines changed
  • drivers/gpu/drm/amd/amdgpu

1 file changed

+2
-2
lines changed

drivers/gpu/drm/amd/amdgpu/nv.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1055,8 +1055,8 @@ static int nv_common_late_init(void *handle)
10551055
amdgpu_virt_update_sriov_video_codec(adev,
10561056
sriov_sc_video_codecs_encode_array,
10571057
ARRAY_SIZE(sriov_sc_video_codecs_encode_array),
1058-
sriov_sc_video_codecs_decode_array_vcn1,
1059-
ARRAY_SIZE(sriov_sc_video_codecs_decode_array_vcn1));
1058+
sriov_sc_video_codecs_decode_array_vcn0,
1059+
ARRAY_SIZE(sriov_sc_video_codecs_decode_array_vcn0));
10601060
}
10611061
}
10621062

0 commit comments

Comments
 (0)