diff options
author | Mario Kleiner <mario.kleiner.de@gmail.com> | 2017-03-29 20:09:11 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-25 13:44:35 (GMT) |
commit | ebf3cf5b9a67c694070ba93d8c31469aeb793266 (patch) | |
tree | bfa2207da0aee368472b857d6da56ee3084f7e43 /drivers/misc/tifm_core.c | |
parent | adc6647c4f0f6f7f3d838d1ccd7398695b6b0702 (diff) | |
download | linux-ebf3cf5b9a67c694070ba93d8c31469aeb793266.tar.xz |
drm/amdgpu: Make display watermark calculations more accurate
commit d63c277dc672e0c568481af043359420fa9d4736 upstream.
Avoid big roundoff errors in scanline/hactive durations for
high pixel clocks, especially for >= 500 Mhz, and thereby
program more accurate display fifo watermarks.
Implemented here for DCE 6,8,10,11.
Successfully tested on DCE 10 with AMD R9 380 Tonga.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/tifm_core.c')
0 files changed, 0 insertions, 0 deletions