diff options
author | Jesse Zhang <jesse.zhang@amd.com> | 2024-04-28 16:26:00 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-04-30 09:59:31 -0400 |
commit | cfec96c16890db08fa5c62b548c652cb37fee93e (patch) | |
tree | 868adc6e1cdfaa893c49785a29325babe81d97d3 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
parent | 7c836905520703dbc8b938993b6d4d718bc739f3 (diff) |
drm/amd/pm: fix uninitialized variable warning
Check the return of function smum_send_msg_to_smc
as it may fail to initialize the variable.
Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com>
Reviewed-by: Tim Huang <Tim.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions