Skip to content

Revert reduce stack size for DML code

Rodrigo Siqueira amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Revert "drm/amd/display: reduce stack for dml32_CalculatePrefetchSchedule"drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_32.c drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.h +1 more+211 -2270 replies
2/4Revert "drm/amd/display: reduce stack for dml32_CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport"drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_32.c drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.h +1 more+104 -1200 replies
3/4Revert "drm/amd/display: reduce stack for dml32_CalculateVMRowAndSwath"drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_32.c drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.h +1 more+62 -700 replies
4/4Revert "drm/amd/display: reduce stack for dml32_CalculateSwathAndDETConfiguration"drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_32.c drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.h +1 more+64 -770 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAlex Deucher
SeriesR-b
1/4A-b
2/4A-b
3/4A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] Revert reduce stack size for DML code

We had a stack size issue on DML, and we tried to fix it by moving some of the local variables to some of the DML struct. In this process of reducing the stack size, we sent some other patches that fixed the issue reported by Stephen, and the below set of patches become unnecessary:

987949933127 drm/amd/display: reduce stack for dml32_CalculatePrefetchSchedule 8f08cd32b767 drm/amd/display: reduce stack for dml32_CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport 5d526d124fe3 drm/amd/display: reduce stack for dml32_CalculateVMRowAndSwath f6ceebcc7825 drm/amd/display: reduce stack for dml32_CalculateSwathAndDETConfiguration

For this reason, this patchset reverts all of the above patches.

Cc Aurabindo Pillai <[email protected]>
Cc Stephen Rothwell <[email protected]>
Cc Alex Deucher <[email protected]>

Thanks
Siqueira

Rodrigo Siqueira (4):
Revert "drm/amd/display: reduce stack for
dml32_CalculatePrefetchSchedule"
Revert "drm/amd/display: reduce stack for
dml32_CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport"
Revert "drm/amd/display: reduce stack for
dml32_CalculateVMRowAndSwath"
Revert "drm/amd/display: reduce stack for
dml32_CalculateSwathAndDETConfiguration"

 .../dc/dml/dcn32/display_mode_vba_32.c        |  12 +-
 .../dc/dml/dcn32/display_mode_vba_util_32.c   | 812 ++++++++++--------
 .../dc/dml/dcn32/display_mode_vba_util_32.h   |   5 -
 .../drm/amd/display/dc/dml/display_mode_vba.h | 106 ---
 4 files changed, 441 insertions(+), 494 deletions(-)
Signature · 1 line
2.35.1