diff options
| author | Mario Limonciello <mario.limonciello@amd.com> | 2026-05-15 15:30:57 -0500 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-05-18 18:19:39 -0400 |
| commit | bdb423fd3943873c1e1fb45c14ec93481c45681a (patch) | |
| tree | 4ab759d385df4e8ab43fa33d9a5771f2326c3379 /include/linux/debugobjects.h | |
| parent | bfe9a7545b2a7be1c543f1741e16f2d5ec4116ae (diff) | |
drm/amd: Reduce code duplication in runtime PM
[Why]
amdgpu_pmops_runtime_suspend() runs almost the same code that
amdgpu_pmops_runtime_idle() runs. That is there is pointless code
duplication.
[How]
Move amdgpu_pmops_runtime_idle() up, extract common code and then
call from both functions. No intended functional changes.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
