mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 23:22:31 +02:00
drm/amd/display: Fix compile warnings in dml2_0
Fix static analysis warnings by ensuring swath size temporaries are initialized before use. No functional change intended. Reviewed-by: Dillon Varone <dillon.varone@amd.com> Signed-off-by: Gaghik Khachatrian <gaghik.khachatrian@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
c61eda4343
commit
a28076422b
|
|
@ -4089,8 +4089,8 @@ static void CalculateSwathAndDETConfiguration(struct display_mode_lib_scratch_st
|
|||
dml_uint_t MaximumSwathHeightC[__DML_NUM_PLANES__];
|
||||
dml_uint_t RoundedUpMaxSwathSizeBytesY[__DML_NUM_PLANES__];
|
||||
dml_uint_t RoundedUpMaxSwathSizeBytesC[__DML_NUM_PLANES__];
|
||||
dml_uint_t RoundedUpSwathSizeBytesY[__DML_NUM_PLANES__];
|
||||
dml_uint_t RoundedUpSwathSizeBytesC[__DML_NUM_PLANES__];
|
||||
dml_uint_t RoundedUpSwathSizeBytesY[__DML_NUM_PLANES__] = { 0 };
|
||||
dml_uint_t RoundedUpSwathSizeBytesC[__DML_NUM_PLANES__] = { 0 };
|
||||
dml_uint_t SwathWidthSingleDPP[__DML_NUM_PLANES__];
|
||||
dml_uint_t SwathWidthSingleDPPChroma[__DML_NUM_PLANES__];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user