]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit195743de0ca9d789f2b3812ad8deaf3285da3784
treeb91244969542f19a05e3a3398dced60bf498c91b
parent98483a4e555f5810fec03cc7650b24d554a9d4e8
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: 67d1f496b26a90 ("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