projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00b5497
)
drm/ili9225: Call MIPI DBI mode_valid helper
author
Thomas Zimmermann
<tzimmermann@suse.de>
Fri, 2 Dec 2022 12:56:38 +0000
(13:56 +0100)
committer
Thomas Zimmermann
<tzimmermann@suse.de>
Mon, 5 Dec 2022 12:35:54 +0000
(13:35 +0100)
MIPI DBI drivers validate each mode against their native resolution.
Add this test to ili9225.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Link:
https://patchwork.freedesktop.org/patch/msgid/20221202125644.7917-3-tzimmermann@suse.de
drivers/gpu/drm/tiny/ili9225.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/tiny/ili9225.c
b/drivers/gpu/drm/tiny/ili9225.c
index
815bab2
..
f05a2d2
100644
(file)
--- a/
drivers/gpu/drm/tiny/ili9225.c
+++ b/
drivers/gpu/drm/tiny/ili9225.c
@@
-326,6
+326,7
@@
static int ili9225_dbi_command(struct mipi_dbi *dbi, u8 *cmd, u8 *par,
}
static const struct drm_simple_display_pipe_funcs ili9225_pipe_funcs = {
+ .mode_valid = mipi_dbi_pipe_mode_valid,
.enable = ili9225_pipe_enable,
.disable = ili9225_pipe_disable,
.update = ili9225_pipe_update,