diff options
| author | Mario Limonciello <mario.limonciello@amd.com> | 2026-05-15 23:30:57 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-05-19 01:19:39 +0300 |
| commit | bdb423fd3943873c1e1fb45c14ec93481c45681a (patch) | |
| tree | 4ab759d385df4e8ab43fa33d9a5771f2326c3379 /lib/debugobjects.c | |
| parent | bfe9a7545b2a7be1c543f1741e16f2d5ec4116ae (diff) | |
| download | linux-bdb423fd3943873c1e1fb45c14ec93481c45681a.tar.xz | |
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 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
