]> git.baikalelectronics.ru Git - 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)
commit7ff9dc7d078cccb809b490aaad2acc8acb40b883
treecdfcb69b07a10084b38094514f1dfafb367b65a5
parent131c9b7a628171818eba609366f753f79e32483f
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