]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pm: revise the driver reloading fix for SMU 13.0.0 and 13.0.7
authorEvan Quan <evan.quan@amd.com>
Mon, 18 Jul 2022 02:45:35 +0000 (10:45 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 25 Jul 2022 13:31:04 +0000 (09:31 -0400)
commitb2b665bc0e77e740c9ac22ff19e02ce08e92df24
tree000fafe86b959b414f846f792de8d0a2a6a809cb
parent57d80f9165adcbf39c0c317f40bdbb90e71b5027
drm/amd/pm: revise the driver reloading fix for SMU 13.0.0 and 13.0.7

The current approach breaks S3/S4 as asic reset is needed for them.
And putting SMU out of service(via SMU_MSG_PrepareMp1ForUnload) will make
that(asic reset) failed. Considering with current designs, there is
actually also asic reset involved on driver reloading. That can make
asic back to a clean state. So, the SMU_MSG_PrepareMp1ForUnload operation
will be not so necessary. Thus we will just drop the SMU_MSG_PrepareMp1ForUnload
operation. We may revise the whole driver reloading sequences when there
is a better design.

Fixes: 73acf0f0efcc ("drm/amd/pm: fix driver reload SMC firmware fail issue for smu13")
Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c