drm/amdgpu/swsmu: handle VCN harvesting for VCN SMU setup
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 21 Oct 2021 13:52:30 +0000 (09:52 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 22 Oct 2021 03:39:04 +0000 (23:39 -0400)
commit0b54122ca1da24902aaaaa8726674a0a4c1a0de8
treeb91244969542f19a05e3a3398dced60bf498c91b
parent8cbc52c20793de8fd75b93ce1872182071282b7b
drm/amdgpu/swsmu: handle VCN harvesting for VCN SMU setup

Check if VCN instances are harvested when controlling
VCN power gating and setting up VCN clocks.

Fixes: 1b592d00b4ac83 ("drm/amdgpu/vcn: remove manual instance setting")
Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1743
Reviewed-and-tested-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c