Commit 45aa07fa authored by Alex Deucher's avatar Alex Deucher

drm/amdgpu/nv: fix codec array for SR_IOV

Copy paste error.

Fixes: 38433412 ("drm/amdgpu/nv: don't expose AV1 if VCN0 is harvested")
Reported-by: default avatarAbaci Robot <abaci@linux.alibaba.com>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4454
Cc: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Acked-by: default avatarGuchun Chen <guchun.chen@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 751281c5
...@@ -1055,8 +1055,8 @@ static int nv_common_late_init(void *handle) ...@@ -1055,8 +1055,8 @@ static int nv_common_late_init(void *handle)
amdgpu_virt_update_sriov_video_codec(adev, amdgpu_virt_update_sriov_video_codec(adev,
sriov_sc_video_codecs_encode_array, sriov_sc_video_codecs_encode_array,
ARRAY_SIZE(sriov_sc_video_codecs_encode_array), ARRAY_SIZE(sriov_sc_video_codecs_encode_array),
sriov_sc_video_codecs_decode_array_vcn1, sriov_sc_video_codecs_decode_array_vcn0,
ARRAY_SIZE(sriov_sc_video_codecs_decode_array_vcn1)); ARRAY_SIZE(sriov_sc_video_codecs_decode_array_vcn0));
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment