]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix PSP autoload twice in FLR
authorLiu ChengZhe <ChengZhe.Liu@amd.com>
Fri, 24 Jul 2020 09:22:15 +0000 (17:22 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Aug 2020 20:44:41 +0000 (16:44 -0400)
commit4a18a5be4427b5eeb4a897d65600a3d257055433
treeb93f234bd5405842de4e9e6db0e4935736d2fb90
parent5ed9909a409b9bac4c4caa0ebaabab15af0c8d72
drm/amdgpu: fix PSP autoload twice in FLR

Assigning false to block->status.hw overwrites PSP's previous
hardware status, which causes the PSP to Resume operation after
hardware init.

Remove this assignment and let the PSP execute Resume operation
when it is told to.

v2: Remove the braces.
v3: Modify the description.

Signed-off-by: Liu ChengZhe <ChengZhe.Liu@amd.com>
Reviewed-by: Luben Tuikov <luben.tuikov@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c