diff options
author | Ma Jun <Jun.Ma2@amd.com> | 2024-05-10 10:05:21 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-09-08 07:53:07 +0200 |
commit | 100d3a3996a8f18323828fa4944904a438dc0563 (patch) | |
tree | 0bbfc6c512edbea07c46fe09ce03bccb25453282 /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | |
parent | b8dfd4a3f9cd67f2fab72ddf0fffb1e523752876 (diff) |
drm/amdgpu/pm: Check input value for CUSTOM profile mode setting on legacy SOCs
[ Upstream commit df0a9bd92fbbd3fcafcb2bce6463c9228a3e6868 ]
Check the input value for CUSTOM profile mode setting on legacy
SOCs. Otherwise we may use uninitalized value of input[]
Signed-off-by: Ma Jun <Jun.Ma2@amd.com>
Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c')
0 files changed, 0 insertions, 0 deletions