drm/amdgpu/vcn3.0: only SIENNA_CICHLID need specify instance for dec/enc
authorJames Zhu <James.Zhu@amd.com>
Thu, 13 Aug 2020 13:57:31 +0000 (09:57 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Aug 2020 20:22:41 +0000 (16:22 -0400)
commitac1128c99620ba8057fa82f2ca1264d0d54544d6
tree29732b23d379276e97c19f08bef3a65348392816
parente098bc9612c2b60f94920461d71c92962a916e73
drm/amdgpu/vcn3.0: only SIENNA_CICHLID need specify instance for dec/enc

Only SIENNA_CICHLID(VCN3) has 2 unsymmetrical instances, there're less
codecs on instance 1, we use 0 for decode and 1 for encode.

Signed-off-by: James Zhu <James.Zhu@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_v3_0.c