mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-01 02:32:49 -04:00
drm/amd/display: initialize uninitialized variable
[WHY] There is one uninitialized variable in file dc/hwss/dcn401/dcn401_hwseq.c, which trigger com compile warnings. [HOW] Initialize the unininitialized variable. Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Reviewed-by: Ariel Bernstein <eric.bernstein@amd.com> Signed-off-by: Meera Patel <meera.patel@amd.com> Signed-off-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
55eeaaec0d
commit
12e4ec5d45
@@ -822,7 +822,7 @@ enum dc_status dcn401_enable_stream_timing(
|
||||
int opp_inst[MAX_PIPES] = {0};
|
||||
struct pipe_ctx *opp_heads[MAX_PIPES] = {0};
|
||||
struct dc_crtc_timing patched_crtc_timing = stream->timing;
|
||||
bool manual_mode;
|
||||
bool manual_mode = false;
|
||||
unsigned int tmds_div = PIXEL_RATE_DIV_NA;
|
||||
unsigned int unused_div = PIXEL_RATE_DIV_NA;
|
||||
int odm_slice_width;
|
||||
|
||||
Reference in New Issue
Block a user