]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/pm: Use macro to initialize metrics table
authorLijo Lazar <lijo.lazar@amd.com>
Tue, 29 Apr 2025 03:07:38 +0000 (08:37 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 May 2025 16:01:15 +0000 (12:01 -0400)
commit1327d8f4061c08c29ea8ce7bb89e209d3c1e8b29
treeec136356e248abbdb10a132c8ad468c784dc3d17
parent2ed4fd99690ba1efab204f03be80fabd6c0ec3cf
drm/amd/pm: Use macro to initialize metrics table

Helps to keep a build time check about usage of right datatype and
avoids maintenance as new versions get added.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Yang Wang <kevinyang.wang@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/smu_cmn.c
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.h