summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tinydrm/st7735r.c
diff options
context:
space:
mode:
authorNoralf Trønnes <noralf@tronnes.org>2019-07-19 17:59:15 +0200
committerNoralf Trønnes <noralf@tronnes.org>2019-07-23 15:49:39 +0200
commitcc431212710860143b13877a0aa9d11a42598f49 (patch)
tree7cbf6a32656c1411c3f9ec59ebc972d2896abe74 /drivers/gpu/drm/tinydrm/st7735r.c
parentdrm/tinydrm/repaper: Don't use tinydrm_display_pipe_init() (diff)
downloadlinux-cc431212710860143b13877a0aa9d11a42598f49.tar.xz
linux-cc431212710860143b13877a0aa9d11a42598f49.zip
drm/tinydrm/mipi-dbi: Add mipi_dbi_init_with_formats()
The MIPI DBI standard support more pixel formats than what this helper supports. Add an init function that lets the driver use different format(s). This avoids open coding mipi_dbi_init() in st7586. st7586 sets preferred_depth but this is not necessary since it only supports one format. v2: Forgot to remove the mipi->rotation assignment in st7586, mipi_dbi_init_with_formats() handles it. Cc: David Lechner <david@lechnology.com> Acked-by: David Lechner <david@lechnology.com> Signed-off-by: Noralf Trønnes <noralf@tronnes.org> Tested-by: David Lechner <david@lechnology.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190719155916.62465-11-noralf@tronnes.org
Diffstat (limited to 'drivers/gpu/drm/tinydrm/st7735r.c')
0 files changed, 0 insertions, 0 deletions