]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: perform PG ungate prior to CG ungate
authorEvan Quan <evan.quan@amd.com>
Thu, 30 Apr 2020 06:38:39 +0000 (14:38 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 May 2020 20:51:15 +0000 (16:51 -0400)
commit88189aee51cf4ac363640fdedb3928b2b1d4fae6
treeaeec5fc0a56c1535c0372b4bf3a3cae82c53e46d
parent48980ce538489a2d64ac8230b5bcb26b47dec2cd
drm/amd/powerplay: perform PG ungate prior to CG ungate

Since gfxoff should be disabled first before trying to access those
GC registers.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amd_powerplay.c
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c