aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_job.h
diff options
context:
space:
mode:
authorYiPeng Chai <YiPeng.Chai@amd.com>2022-09-08 09:48:11 +0800
committerAlex Deucher <alexander.deucher@amd.com>2022-09-19 15:17:58 -0400
commita6ad27cec585fe715b95fcc930cbc460c678080f (patch)
treec43ea243c86a37c12ca2abdb6707930cb211eaae /drivers/gpu/drm/amd/amdgpu/amdgpu_job.h
parent83d29a5f8a5a8ac76fdf8b8ccca65899345e6a9e (diff)
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_job.h')
0 files changed, 0 insertions, 0 deletions