]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/amdgpu: Correct gfx10's CG sequence
authorChengming Gui <Jack.Gui@amd.com>
Fri, 3 Apr 2020 03:32:15 +0000 (11:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Apr 2020 18:01:06 +0000 (14:01 -0400)
commit4838572cc485846c858f14f72fbe2c73157568b9
treeddba76925681db9879cda202c36494caf1714e6e
parent584be40729980c76954e2446b21a78b81cb125e3
drm/amd/amdgpu: Correct gfx10's CG sequence

Incorrect CG sequence will cause gfx timedout,
if we keep switching power profile mode
(enter profile mod such as PEAK will disable CG,
exit profile mode EXIT will enable CG)
when run Vulkan test case(case used for test: vkexample).

Signed-off-by: Chengming Gui <Jack.Gui@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Acked-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c