diff options
| author | YiPeng Chai <[email protected]> | 2022-09-08 01:48:11 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-09-19 19:17:58 +0000 |
| commit | a6ad27cec585fe715b95fcc930cbc460c678080f (patch) | |
| tree | c43ea243c86a37c12ca2abdb6707930cb211eaae /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | drm/amdgpu: Fixed psp fence and memory issues when removing amdgpu device (diff) | |
| download | kernel-a6ad27cec585fe715b95fcc930cbc460c678080f.tar.gz kernel-a6ad27cec585fe715b95fcc930cbc460c678080f.zip | |
drm/amd/pm: Remove redundant check condition
V3:
[Why]:
Since ASICs using smu v13_0_2 have called smu
.suspend before calling amdgpu_pm_sysfs_fini,
pm.dpm_enabled was already set to 0 when smu
.suspend was called. This makes it impossible
to delete all pm sys nodes.
[How]:
Since all functions in amdgpu_pm_sysfs_fini
have their own condition checks, so the first
conditional check in amdgpu_pm_sysfs_fini can
be removed.
Signed-off-by: YiPeng Chai <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
