diff options
| author | Nikola Cornij <[email protected]> | 2019-04-15 14:32:28 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-06-22 09:34:11 -0500 |
| commit | b01473e919fa4dd32df696ebfc899c8ba6e817a8 (patch) | |
| tree | 69ce44458e401dcfb24a9ecfc4df457c4809da0a /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 7fad39ca4a1cd721864a3b7da19b2489e73dbf42 (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 <[email protected]>
Reviewed-by: Tony Cheng <[email protected]>
Acked-by: Bhawanpreet Lakha <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions