]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/pm: Check SMUv13.0.6/12 metrics integrity
authorLijo Lazar <lijo.lazar@amd.com>
Sat, 18 Apr 2026 00:51:17 +0000 (06:21 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 21 Apr 2026 20:51:16 +0000 (16:51 -0400)
commit6fc63d80c01a480e3d2c98620f07d46e5bcfc85a
tree46cb9eb102f08c5f7cd54a1c57eb02b2d9cc303b
parentbc621e91d6fc004cfae9148c5a91acad19ada3e4
drm/amd/pm: Check SMUv13.0.6/12 metrics integrity

Check if data fetch is proper by matching the first few bytes against
0xFFs. If 0xFFs, that means data couldn't be read properly.

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/smu13/smu_v13_0_6_ppt.c