]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/sriov/vcn: add new vcn ip revision check case for SIENNA_CICHLID
authorJane Jian <Jane.Jian@amd.com>
Tue, 23 Nov 2021 11:19:40 +0000 (19:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Dec 2021 21:58:11 +0000 (16:58 -0500)
commite0ff1eea0901f3d076502c4fb990ca94fbcc72a3
tree3df688d4a02199e3cfc232b45016faa175ad0ae8
parentb1a885c0f40e89a4fd0f041736592b4ab46bfe8a
drm/amdgpu/sriov/vcn: add new vcn ip revision check case for SIENNA_CICHLID

[WHY]
for sriov odd# vf will modify vcn0 engine ip revision(due to multimedia bandwidth feature),
which will be mismatched with original vcn0 revision

[HOW]
add new version check for vcn0 disabled revision(3, 0, 192), typically modified under
sriov mode

Signed-off-by: Jane Jian <Jane.Jian@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
drivers/gpu/drm/amd/amdgpu/nv.c