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, 30 Jul 2020 19:36:44 +0000 (15:36 -0400)
commit392cf6a739271a70311b6a3c4f60900039721a68
tree6c20e735115a3ac504826780e5b1509c3dc33181
parent178b0013f074da545492662ec76dc2be363ca85c
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