Commit d179f9d 1 parent 4ac1437 commit d179f9d Copy full SHA for d179f9d
File tree 1 file changed +3
-3
lines changed
drivers/gpu/drm/amd/display/dc/dml/dcn32
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6257,12 +6257,12 @@ bool dml32_CalculateDETSwathFillLatencyHiding(unsigned int NumberOfActiveSurface
6257
6257
double SwathSizePerSurfaceC [DC__NUM_DPP__MAX ];
6258
6258
bool NotEnoughDETSwathFillLatencyHiding = false;
6259
6259
6260
- /* calculate sum of single swath size for all pipes in bytes*/
6260
+ /* calculate sum of single swath size for all pipes in bytes */
6261
6261
for (k = 0 ; k < NumberOfActiveSurfaces ; k ++ ) {
6262
- SwathSizePerSurfaceY [k ] + = SwathHeightY [k ] * SwathWidthY [k ] * BytePerPixelInDETY [k ] * NumOfDPP [k ];
6262
+ SwathSizePerSurfaceY [k ] = SwathHeightY [k ] * SwathWidthY [k ] * BytePerPixelInDETY [k ] * NumOfDPP [k ];
6263
6263
6264
6264
if (SwathHeightC [k ] != 0 )
6265
- SwathSizePerSurfaceC [k ] + = SwathHeightC [k ] * SwathWidthC [k ] * BytePerPixelInDETC [k ] * NumOfDPP [k ];
6265
+ SwathSizePerSurfaceC [k ] = SwathHeightC [k ] * SwathWidthC [k ] * BytePerPixelInDETC [k ] * NumOfDPP [k ];
6266
6266
else
6267
6267
SwathSizePerSurfaceC [k ] = 0 ;
6268
6268
You can’t perform that action at this time.
0 commit comments