Files
linux/drivers/gpu/drm/radeon
Mario Kleiner 55f61a040e drm/radeon: Fix overflow of watermark calcs at > 4k resolutions.
Commit e6b9a6c84b
("drm/radeon: Make display watermark calculations more accurate")
made watermark calculations more accurate, but not for > 4k
resolutions on 32-Bit architectures, as it introduced an integer
overflow for those setups and resolutions.

Fix this by proper u64 casting and division.

Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Reported-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Fixes: e6b9a6c84b ("drm/radeon: Make display watermark calculations more accurate")
Cc: Ben Hutchings <ben.hutchings@codethink.co.uk>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-06-14 09:25:58 -04:00
..
2016-12-15 14:55:34 +02:00
2016-03-16 18:08:06 -04:00
2015-10-21 11:35:11 -04:00
2016-03-16 18:08:06 -04:00
2016-03-16 18:08:06 -04:00
2016-03-16 18:08:06 -04:00
2015-12-02 12:45:54 -05:00
2016-05-16 10:25:13 -04:00
2013-09-11 11:44:38 -04:00
2013-09-11 11:44:38 -04:00
2015-12-02 12:45:54 -05:00
2016-03-16 18:08:06 -04:00
2015-10-21 11:35:11 -04:00
2017-03-29 23:53:24 -04:00
2016-03-16 18:08:06 -04:00
2015-11-30 14:44:34 -05:00
2015-12-02 12:45:54 -05:00
2017-05-08 17:15:14 -07:00
2016-03-16 18:08:06 -04:00
2016-03-16 18:08:06 -04:00
2016-03-16 18:08:06 -04:00
2016-03-16 18:08:06 -04:00
2016-03-16 18:08:06 -04:00
2016-03-16 18:08:06 -04:00
2016-03-16 18:08:06 -04:00
2016-03-16 18:08:06 -04:00
2016-03-16 18:08:06 -04:00
2016-03-16 18:08:06 -04:00