]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
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:50:38 +0000 (17:50 -0400)
commit7fb133cf65558955b5fdac2458f9690dfd12a794
treecdfcb69b07a10084b38094514f1dfafb367b65a5
parent2c34c960cee0dfdfe33ddf1b3835c250a9503ef6
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