]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: move smu_debug_mask to a more proper place
authorEvan Quan <evan.quan@amd.com>
Mon, 13 Dec 2021 03:37:56 +0000 (11:37 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Dec 2021 21:09:11 +0000 (16:09 -0500)
commit9cd9d5db1260862e0d82c2fe1cd325d1003bc730
tree8e3aa8703fdc0912808f9d968272d1d578ae9cc3
parent4f0c8f82ef6e80488f7351681852b931aaf92d14
drm/amdgpu: move smu_debug_mask to a more proper place

As the smu_context will be invisible from outside(of power). Also,
the smu_debug_mask can be shared around all power code instead of
some specific framework(swSMU) only.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h
drivers/gpu/drm/amd/pm/inc/amdgpu_smu.h
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c