drm/amd/powerplay: put VCN/JPEG into PG ungate state before dpm table setup(V3)
authorEvan Quan <evan.quan@amd.com>
Wed, 5 Aug 2020 09:24:41 +0000 (17:24 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 7 Aug 2020 21:29:54 +0000 (17:29 -0400)
commit520f5e425a69417540b7563c266f773752dcea44
tree7f4529172f97c5655c719c45cd6f585aa6aa3921
parentad1cac262ed2c344ec93e145c5307480cecfbc2f
drm/amd/powerplay: put VCN/JPEG into PG ungate state before dpm table setup(V3)

As VCN related dpm table setup needs VCN be in PG ungate state. Same logics
applies to JPEG.

V2: fix paste typo
V3: code cosmetic

Signed-off-by: Evan Quan <evan.quan@amd.com>
Tested-by: Matt Coffin <mcoffin13@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
drivers/gpu/drm/amd/powerplay/smu_internal.h