linux_dsm_epyc7002/drivers/gpu
Mario Kleiner bea1041393 drm/amdgpu: Fix overflow of watermark calcs at > 4k resolutions.
Commit d63c277dc6
("drm/amdgpu: 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: d63c277dc6 ("drm/amdgpu: 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:05 -04:00
..
drm drm/amdgpu: Fix overflow of watermark calcs at > 4k resolutions. 2017-06-14 09:25:05 -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