]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mipi_dbi: Add support for display offsets
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 15 Jan 2020 12:45:46 +0000 (13:45 +0100)
committerSam Ravnborg <sam@ravnborg.org>
Sun, 19 Jan 2020 17:07:08 +0000 (18:07 +0100)
commit6835346335d5448167e78eddff55843716b28326
treea0c5a6682c56d9a0c435d116b18376a37bb7ddde
parentd9802712ffea97e56e22c01589aaed71ede3b8a2
drm/mipi_dbi: Add support for display offsets

If the resolution of the TFT display is smaller than the maximum
resolution supported by the display controller, the display may be
connected to the driver output arrays with a horizontal and/or vertical
offset, leading to a shifted image.

Add support for specifying these offsets.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200115124548.3951-4-geert+renesas@glider.be
drivers/gpu/drm/drm_mipi_dbi.c
include/drm/drm_mipi_dbi.h