OSDN Git Service

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)
commit7e31a8585b79a4d67e7fefdb6428054d18ddd339
tree8e3aa8703fdc0912808f9d968272d1d578ae9cc3
parentfa4a427d84f9b797970a3d5139d7645403e4e989
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