drm/amd/pm: fixes a random hang in S4 for SMU v13.0.4/11
authorTim Huang <Tim.Huang@amd.com>
Wed, 27 Mar 2024 05:10:37 +0000 (13:10 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Apr 2024 03:13:43 +0000 (23:13 -0400)
commit31729e8c21ecfd671458e02b6511eb68c2225113
tree9319884cd9d25c980df18819ddd5827d5d72fc1b
parentd4396924c3d44f34d0643f650e70892e07f3677f
drm/amd/pm: fixes a random hang in S4 for SMU v13.0.4/11

While doing multiple S4 stress tests, GC/RLC/PMFW get into
an invalid state resulting into hard hangs.

Adding a GFX reset as workaround just before sending the
MP1_UNLOAD message avoids this failure.

Signed-off-by: Tim Huang <Tim.Huang@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/smu13/smu_v13_0_4_ppt.c