Skip to content

Commit 0f21636

Browse files
Lijo Lazaralexdeucher
authored andcommitted
drm/amd/pm: Don't send unload message for reset
No need to notify about unload during reset. Also remove the FW version check. Signed-off-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Yang Wang <kevinyang.wang@amd.com> Reviewed-by: Asad Kamal <asad.kamal@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 07ee43f commit 0f21636

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1454,7 +1454,7 @@ static int smu_v13_0_6_register_irq_handler(struct smu_context *smu)
14541454

14551455
static int smu_v13_0_6_notify_unload(struct smu_context *smu)
14561456
{
1457-
if (smu->smc_fw_version <= 0x553500)
1457+
if (amdgpu_in_reset(smu->adev))
14581458
return 0;
14591459

14601460
dev_dbg(smu->adev->dev, "Notify PMFW about driver unload");

0 commit comments

Comments
 (0)