drm/amdgpu: enable VCN0 and VCN1 sriov instances support for Arcturus
authorJane Jian <Jane.Jian@amd.com>
Mon, 16 Dec 2019 09:04:01 +0000 (17:04 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Dec 2019 15:10:05 +0000 (10:10 -0500)
commitab5999dea06945f1f7b00bc20c23ab045afa74af
tree923d4fab0b633ea722a751e56df5bd93f147dcaa
parentb40953c2baf0d6aed576451e655a44d444b7e9ef
drm/amdgpu: enable VCN0 and VCN1 sriov instances support for Arcturus

v1: compared to bare-metal: sriov support psp loading VCN firmware; only one
encoding ring would be used in each instance.
v2: keep unchange for bare-metal VCN2.5 hw_init, just add a flag with sriov
and also remove multiple lines.
v3: squash in warning fix

Signed-off-by: Jane Jian <Jane.Jian@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c