linux/drivers/gpu/drm/pl111
Linus Walleij df99dd9202 drm/pl111: Use max memory bandwidth for resolution
We were previously selecting 1024x768 and 32BPP as the default
set-up for the PL111 consumers.

This does not work on elder systems: the device tree bindings
support a property "max-memory-bandwidth" in bytes/second that
states that if you exceed this the memory bus will saturate.
The result is flickering and unstable images.

Parse the "max-memory-bandwidth" and respect it when
intializing the driver. On the RealView PB11MP, Versatile and
Integrator/CP we get a nice console as default with this code.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180307215819.15814-1-linus.walleij@linaro.org
2018-03-07 23:14:24 +01:00
..
Kconfig drm/pl111: Remove reverse dependency on DRM_DUMB_VGA_DAC 2018-02-26 11:04:51 +05:30
Makefile main drm pull request for v4.15 2017-11-15 20:42:10 -08:00
pl111_debugfs.c drm/pl111: Add all registers to debugfs 2017-09-10 23:57:57 +02:00
pl111_display.c drm/pl111: Use max memory bandwidth for resolution 2018-03-07 23:14:24 +01:00
pl111_drm.h drm/pl111: Use max memory bandwidth for resolution 2018-03-07 23:14:24 +01:00
pl111_drv.c drm/pl111: Use max memory bandwidth for resolution 2018-03-07 23:14:24 +01:00
pl111_versatile.c drm/pl111: Handle the RealView variant separately 2018-03-07 22:48:08 +01:00
pl111_versatile.h drm/pl111: Add handling of Versatile platforms 2017-09-10 23:58:42 +02:00