]> git.hungrycats.org Git - linux/commit
drm/amd/pm: return -EINVAL on invalid CCLK OD core index
authorCandice Li <candice.li@amd.com>
Tue, 19 May 2026 04:19:38 +0000 (12:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Jun 2026 17:52:49 +0000 (13:52 -0400)
commitd288e4ba09b25e4602685ac4203185a7bda38b0d
treee16be85c189603498641fd33c4cffaed9b04a11b
parentf193e71fa9fab2e68ef85201b106e8f580d3a25b
drm/amd/pm: return -EINVAL on invalid CCLK OD core index

Return -EINVAL after an out-of-range core index for
PP_OD_EDIT_CCLK_VDDC_TABLE.

Signed-off-by: Candice Li <candice.li@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c