diff options
| author | 2019-04-15 14:32:28 -0400 | |
|---|---|---|
| committer | 2019-06-22 09:34:11 -0500 | |
| commit | b01473e919fa4dd32df696ebfc899c8ba6e817a8 (patch) | |
| tree | 69ce44458e401dcfb24a9ecfc4df457c4809da0a /include | |
| parent | drm/amd/display: Change DCN2 vupdate start programming (diff) | |
drm/amd/display: Make sure line size is not zero in DCN2 line buffer size calculations
[why]
'Divide by zero' error happens when line size happens to be zero.
[how]
The code that makes sure line size minimum value can be 1 was already
present in DCN1 part of the driver, this is mearly a port to DCN2.
Signed-off-by: Nikola Cornij <nikola.cornij@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
