drm/amd/pm: check specific index for smu13
authorJesse Zhang <jesse.zhang@amd.com>
Wed, 8 May 2024 09:50:21 +0000 (17:50 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 May 2024 20:11:53 +0000 (16:11 -0400)
commita3ac9d1c9751f00026c2d98b802ec8a98626c3ed
treedba3cfa893047a7ad8765af0b75a67b2147296c8
parentff284ecac32a98f8b052e271e173e80df456793e
drm/amd/pm: check specific index for smu13

Check for specific indexes that may be invalid values.

Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com>
Suggested-by: Tim Huang <Tim.Huang@amd.com>
Reviewed-by: Tim Huang <Tim.Huang@amd.com>
Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c