aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/pm/amdgpu_pm.c
diff options
context:
space:
mode:
authorKent Russell <[email protected]>2022-03-30 09:27:41 -0400
committerAlex Deucher <[email protected]>2022-03-31 23:05:54 -0400
commit5e9c445172fde2ee761af91ad302e41041de6be8 (patch)
tree1b01132c2d86a3aa801ffdd9774b4560389aa8fa /drivers/gpu/drm/amd/pm/amdgpu_pm.c
parent9696679bf7ac40a8fb6a488a75bd66d4414cd3c3 (diff)
drm/amdgpu: Fix unique_id references for Sienna Cichlid
Since unique_id is only supported in PMFW 0x3A5300 and higher, we will only be able to use it inside Smu_Metrics_V3_t, which requires PMFW 0x3A4900 and higher. Remove the unique_id/serial_number references from the v1 and v2 tables to avoid any confusion, and return 0 if metrics_v1 or metrics_v2 are used to try to get the unique_id/serial_number. Signed-off-by: Kent Russell <[email protected]> Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions