Skip to content
Commit 58350786 authored by Ma Jun's avatar Ma Jun Committed by Greg Kroah-Hartman
Browse files

drm/amdgpu/pm: Check input value for CUSTOM profile mode setting on legacy SOCs



[ Upstream commit df0a9bd9 ]

Check the input value for CUSTOM profile mode setting on legacy
SOCs. Otherwise we may use uninitalized value of input[]

Signed-off-by: default avatarMa Jun <Jun.Ma2@amd.com>
Reviewed-by: default avatarYang Wang <kevinyang.wang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent eba7c58b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment