summaryrefslogtreecommitdiff
path: root/include/drm/drm_atomic.h
diff options
context:
space:
mode:
authorPeter Rosin <peda@axentia.se>2019-12-18 15:28:28 +0300
committerSam Ravnborg <sam@ravnborg.org>2020-01-06 21:54:27 +0300
commit51a19d150b520f6cb42143f3bdffacd3c33d7ac5 (patch)
tree933f281465a1c0c7c7c33a8bcc34d549fb9e3202 /include/drm/drm_atomic.h
parent2c1fb9d86f6820abbfaa38a6836157c76ccb4e7b (diff)
downloadlinux-51a19d150b520f6cb42143f3bdffacd3c33d7ac5.tar.xz
drm: atmel-hlcdc: prefer a lower pixel-clock than requested
The intention was to only select a higher pixel-clock rate than the requested, if a slight overclocking would result in a rate significantly closer to the requested rate than if the conservative lower pixel-clock rate is selected. The fixed patch has the logic the other way around and actually prefers the higher frequency. Fix that. Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Fixes: 9946a3a9dbed ("drm/atmel-hlcdc: allow selecting a higher pixel-clock than requested") Reported-by: Claudiu Beznea <claudiu.beznea@microchip.com> Tested-by: Claudiu Beznea <claudiu.beznea@microchip.com> Cc: Boris Brezillon <boris.brezillon@bootlin.com> Cc: <stable@vger.kernel.org> # v4.20+ Link: https://patchwork.freedesktop.org/patch/msgid/1576672109-22707-6-git-send-email-claudiu.beznea@microchip.com
Diffstat (limited to 'include/drm/drm_atomic.h')
0 files changed, 0 insertions, 0 deletions