diff options
author | 2018-10-18 12:02:50 +0200 | |
---|---|---|
committer | 2018-10-19 11:50:25 +0200 | |
commit | e84cb605e02f1b3d0aee8d7157419cd8aaa06038 (patch) | |
tree | a479bb12e9d290e8f14da3402ad48fcabf9cf6d0 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | drm: Get ref on CRTC commit object when waiting for flip_done (diff) | |
download | linux-dev-e84cb605e02f1b3d0aee8d7157419cd8aaa06038.tar.xz linux-dev-e84cb605e02f1b3d0aee8d7157419cd8aaa06038.zip |
drm/sun4i: Fix an ulong overflow in the dotclock driver
The calculated ideal rate can easily overflow an unsigned long, thus
making the best div selection buggy as soon as no ideal match is found
before the overflow occurs.
Fixes: 4731a72df273 ("drm/sun4i: request exact rates to our parents")
Cc: <stable@vger.kernel.org>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181018100250.12565-1-boris.brezillon@bootlin.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions