aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_sched.c
diff options
context:
space:
mode:
authorPeter Rosin <[email protected]>2019-12-18 12:28:28 +0000
committerSam Ravnborg <[email protected]>2020-01-06 18:54:27 +0000
commit51a19d150b520f6cb42143f3bdffacd3c33d7ac5 (patch)
tree933f281465a1c0c7c7c33a8bcc34d549fb9e3202 /drivers/gpu/drm/lima/lima_sched.c
parentdrm: atmel-hlcdc: enable clock before configuring timing engine (diff)
downloadkernel-51a19d150b520f6cb42143f3bdffacd3c33d7ac5.tar.gz
kernel-51a19d150b520f6cb42143f3bdffacd3c33d7ac5.zip
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 <[email protected]> Signed-off-by: Claudiu Beznea <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]> Fixes: 9946a3a9dbed ("drm/atmel-hlcdc: allow selecting a higher pixel-clock than requested") Reported-by: Claudiu Beznea <[email protected]> Tested-by: Claudiu Beznea <[email protected]> Cc: Boris Brezillon <[email protected]> Cc: <[email protected]> # v4.20+ Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/lima/lima_sched.c')
0 files changed, 0 insertions, 0 deletions