]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Add unique_id support for sienna cichlid
authorKent Russell <kent.russell@amd.com>
Thu, 10 Feb 2022 00:56:46 +0000 (19:56 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 1 Apr 2022 03:05:54 +0000 (23:05 -0400)
commit43185be42eb8954bb17087052627125fd783ef79
tree49e666185c1727dfd8ed3e108ee43cae476e9863
parent497aaec39015398d73ab85a40c3c7544970c0299
drm/amdgpu: Add unique_id support for sienna cichlid

This is being added to SMU Metrics, so add the required tie-ins in the
kernel. Also create the corresponding unique_id sysfs file.

v2: Add FW version check, remove SMU mutex
v3: Fix style warning
v4: Add MP1 IP_VERSION check to FW version check

Signed-off-by: Kent Russell <kent.russell@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/amdgpu_pm.c
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu11_driver_if_sienna_cichlid.h
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c