Correct a series of off by 1 errors in DML and DML2
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | drm/amd/display: Adjust plane init for off by one errordrivers/ | +1 | 2 replies | |
| 2/4 | drm/amd/display: Correct off by one errors in DMLdrivers/ | +34 | 0 replies | |
| 3/4 | drm/amd/display: Correct some suspect code indentationdrivers/ | +27 | 0 replies | |
| 4/4 | drm/amd/display: Correct off by one errors in DML2drivers/ drivers/ drivers/ | +82 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by.
| Patch | Luke Jones |
|---|---|
| 1/4 | Reported-and-tested-by |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] Correct a series of off by 1 errors in DML and DML2
From: Mario Limonciello <[email protected]>
Many people have reported a series of issues that lead to divide by zero errors in DML2 code on DCN 3.5.
This divide by zero error is caused by accessing outside of the bound of what is initialized on an array for the number of planes.
The first patch in the series fixes the immediate issue. This patch should go to fixes and stable.
The remaining patches fix what appears to be the same problem in other code in both DML and DML2 that has (presumably) been copy/pasted for loop iterators.
Mario Limonciello (4):
drm/amd/display: Adjust plane init for off by one error drm/amd/display: Correct off by one errors in DML drm/amd/display: Correct some suspect code indentation drm/amd/display: Correct off by one errors in DML2
.../dc/dml/dcn32/display_mode_vba_32.c | 68 ++++----- .../amd/display/dc/dml2/display_mode_core.c | 131 +++++++++--------- .../src/dml2_core/dml2_core_dcn4_calcs.c | 40 +++--- .../dml21/src/dml2_core/dml2_core_shared.c | 50 +++---- 4 files changed, 144 insertions(+), 145 deletions(-)
Signature · 1 line
2.43.0