drm/amdgpu: Add psp command CONFIG_SQ_PERFMON
authorFeifei Xu <Feifei.Xu@amd.com>
Thu, 12 Sep 2024 10:08:07 +0000 (18:08 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 26 Sep 2024 21:06:16 +0000 (17:06 -0400)
commit400a7591d94826c5ec3273abb38e07330143898b
tree0fcf1213003aea35b0c25f38f603293d610ffaa6
parent56cbb36696407a27cfbfdbc2dee0b1e206178cec
drm/amdgpu: Add psp command CONFIG_SQ_PERFMON

Add support for enable/disable perfmon profiling.

Signed-off-by: Feifei Xu <Feifei.Xu@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: James Zhu <James.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
drivers/gpu/drm/amd/amdgpu/psp_gfx_if.h