diff options
author | 2024-06-07 20:03:31 -0600 | |
---|---|---|
committer | 2024-06-27 17:10:36 -0400 | |
commit | 3bc73bc096e64752961060cdf9d460e0a6bb0e6b (patch) | |
tree | 72c46384f9a845628fdbd43973c4257b2fb0caa8 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | |
parent | drm/amd/display: Fix cursor size issues (diff) | |
download | linux-rng-3bc73bc096e64752961060cdf9d460e0a6bb0e6b.tar.xz linux-rng-3bc73bc096e64752961060cdf9d460e0a6bb0e6b.zip |
drm/amd/display: Fix uninitialized variables in dcn401
[WHAT & HOW]
surf_linear_128_l/c are used in CalculateBytePerPixelAndBlockSizes
before they are assigned, so initializing them before passing them into
the function.
This fixes 2 UNINIT issues reported by Coverity.
Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c')
0 files changed, 0 insertions, 0 deletions