kernel_optimize_test/drivers/gpu
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
..
drm drm/radeon: Fix overflow of watermark calcs at > 4k resolutions. 2017-06-14 09:25:58 -04:00
host1x gpu: host1x: select IOMMU_IOVA 2017-05-18 10:41:28 -04:00
ipu-v3 gpu: ipu-v3: Fix CSI selection for VDIC 2017-06-06 10:21:34 +02:00
vga Pointer for Markus's image conversion work. 2017-03-14 15:07:33 +01:00
Makefile