mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 15:12:13 +02:00
drm/amd/display: Silence static analysis warning
Silence 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: Chuanyu Tseng <chuanyu.tseng@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
beb8e35e2b
commit
cb0f6a16e2
|
|
@ -5304,7 +5304,7 @@ static void CalculateWatermarksAndDRAMSpeedChangeSupport(
|
|||
double LinesInDETC;
|
||||
unsigned int LinesInDETYRoundedDownToSwath[DC__NUM_DPP__MAX];
|
||||
unsigned int LinesInDETCRoundedDownToSwath;
|
||||
double FullDETBufferingTimeY[DC__NUM_DPP__MAX];
|
||||
double FullDETBufferingTimeY[DC__NUM_DPP__MAX] = { 0 };
|
||||
double FullDETBufferingTimeC;
|
||||
double ActiveDRAMClockChangeLatencyMarginY;
|
||||
double ActiveDRAMClockChangeLatencyMarginC;
|
||||
|
|
|
|||
|
|
@ -459,8 +459,8 @@ void dml32_CalculateSwathAndDETConfiguration(
|
|||
{
|
||||
unsigned int MaximumSwathHeightY[DC__NUM_DPP__MAX];
|
||||
unsigned int MaximumSwathHeightC[DC__NUM_DPP__MAX];
|
||||
unsigned int RoundedUpMaxSwathSizeBytesY[DC__NUM_DPP__MAX];
|
||||
unsigned int RoundedUpMaxSwathSizeBytesC[DC__NUM_DPP__MAX];
|
||||
unsigned int RoundedUpMaxSwathSizeBytesY[DC__NUM_DPP__MAX] = { 0 };
|
||||
unsigned int RoundedUpMaxSwathSizeBytesC[DC__NUM_DPP__MAX] = { 0 };
|
||||
unsigned int RoundedUpSwathSizeBytesY;
|
||||
unsigned int RoundedUpSwathSizeBytesC;
|
||||
double SwathWidthdoubleDPP[DC__NUM_DPP__MAX];
|
||||
|
|
@ -2988,7 +2988,7 @@ void dml32_UseMinimumDCFCLK(
|
|||
for (j = 0; j <= 1; ++j) {
|
||||
double PixelDCFCLKCyclesRequiredInPrefetch[DC__NUM_DPP__MAX];
|
||||
double PrefetchPixelLinesTime[DC__NUM_DPP__MAX];
|
||||
double DCFCLKRequiredForPeakBandwidthPerSurface[DC__NUM_DPP__MAX];
|
||||
double DCFCLKRequiredForPeakBandwidthPerSurface[DC__NUM_DPP__MAX] = { 0 };
|
||||
double DynamicMetadataVMExtraLatency[DC__NUM_DPP__MAX];
|
||||
double MinimumTWait = 0.0;
|
||||
double DPTEBandwidth;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user