linux/drivers/gpu/drm/amd/pm
YiPeng Chai a6ad27cec5 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 <YiPeng.Chai@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-09-19 15:17:58 -04:00
..
inc drm/amd: Add detailed GFXOFF stats to debugfs 2022-08-16 18:17:31 -04:00
legacy-dpm drm/amd/pm: fix the compile warning 2022-04-28 17:45:49 -04:00
powerplay drm/amd/pm: fix the deadlock issue observed on SI 2022-04-22 14:50:23 -04:00
swsmu drm/amd/pm:add new gpu_metrics_v2_3 to acquire average temperature info 2022-09-14 12:38:41 -04:00
amdgpu_dpm_internal.c drm/amd/pm: add missing prototypes to amdgpu_dpm_internal 2022-02-07 18:03:50 -05:00
amdgpu_dpm.c drm/amd: Add detailed GFXOFF stats to debugfs 2022-08-16 18:17:31 -04:00
amdgpu_pm.c drm/amd/pm: Remove redundant check condition 2022-09-19 15:17:58 -04:00
Makefile drm/amd/pm: relocate the power related headers 2022-01-14 17:51:14 -05:00