drm/amdgpu: add tracking for the enablement of SCPM
authorLikun Gao <Likun.Gao@amd.com>
Wed, 4 May 2022 13:56:33 +0000 (09:56 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 May 2022 13:56:51 +0000 (09:56 -0400)
commit7f318f4e305ac2675bc6e67712f03e631b6f2ed1
treef03254fdb4733c32ce1c4f75a1f73cf638661e9f
parenta6b6d38ed873bb4f105cde4b91f6d4cb5aa41efa
drm/amdgpu: add tracking for the enablement of SCPM

Add parmeter to shows whether SCPM feature is enabled or not, and
whether is valid.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h