]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/pm: Use cached gpu metrics table
authorLijo Lazar <lijo.lazar@amd.com>
Tue, 2 Dec 2025 09:03:28 +0000 (14:33 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 8 Jan 2026 16:40:40 +0000 (11:40 -0500)
commit34d65997489fe3485dd698025ea32b8aa74f0af4
treef12ee6133f66af942e7d0b0fb22c931b64889e5a
parent618c144145ad3e409c2c0fa13a0efef1a9473d37
drm/amd/pm: Use cached gpu metrics table

If cached gpu metrics table is available, return it directly. Also,
deprecate gpu_metrics_table variables as they are no longer used.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h