mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 12:10:23 -04:00
drm/amdgpu/pm: Add default case for smu IH process func
Add default case for smu IH process func. Signed-off-by: Ma Jun <Jun.Ma2@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -1462,6 +1462,10 @@ static int smu_v11_0_irq_process(struct amdgpu_device *adev,
|
||||
schedule_work(&smu->throttling_logging_work);
|
||||
|
||||
break;
|
||||
default:
|
||||
dev_dbg(adev->dev, "Unhandled context id %d from client:%d!\n",
|
||||
ctxid, client_id);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1429,6 +1429,10 @@ static int smu_v13_0_irq_process(struct amdgpu_device *adev,
|
||||
data = data & (~THM_THERMAL_INT_CTRL__THERM_TRIGGER_MASK_MASK);
|
||||
WREG32_SOC15(THM, 0, regTHM_THERMAL_INT_CTRL, data);
|
||||
break;
|
||||
default:
|
||||
dev_dbg(adev->dev, "Unhandled context id %d from client:%d!\n",
|
||||
ctxid, client_id);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1439,7 +1439,10 @@ static int smu_v13_0_6_irq_process(struct amdgpu_device *adev,
|
||||
entry->src_data[1]);
|
||||
schedule_work(&smu->throttling_logging_work);
|
||||
}
|
||||
|
||||
break;
|
||||
default:
|
||||
dev_dbg(adev->dev, "Unhandled context id %d from client:%d!\n",
|
||||
ctxid, client_id);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user