drm/amdgpu/nv: fix codec array for SR_IOV
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Mar 2023 03:45:59 +0000 (22:45 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Mar 2023 14:40:41 +0000 (10:40 -0400)
commit45aa07fa832412f1de99194f37fd847915d7e0f6
tree049040675cbe838a579f27be729481a72f36e665
parent751281c55579f0cb0e56c9797d4663f689909681
drm/amdgpu/nv: fix codec array for SR_IOV

Copy paste error.

Fixes: 384334120b66 ("drm/amdgpu/nv: don't expose AV1 if VCN0 is harvested")
Reported-by: Abaci 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: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nv.c