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:
fe2c021
)
drm/st7586: Call MIPI DBI mode_valid helper
author
Thomas Zimmermann
<tzimmermann@suse.de>
Fri, 2 Dec 2022 12:56:39 +0000
(13:56 +0100)
committer
Thomas Zimmermann
<tzimmermann@suse.de>
Mon, 5 Dec 2022 12:36:05 +0000
(13:36 +0100)
MIPI DBI drivers validate each mode against their native resolution.
Add this test to st7586.
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-4-tzimmermann@suse.de
drivers/gpu/drm/tiny/st7586.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/tiny/st7586.c
b/drivers/gpu/drm/tiny/st7586.c
index
ce57fa9
..
6bdd23e
100644
(file)
--- a/
drivers/gpu/drm/tiny/st7586.c
+++ b/
drivers/gpu/drm/tiny/st7586.c
@@
-263,6
+263,7
@@
static const u32 st7586_formats[] = {
};
static const struct drm_simple_display_pipe_funcs st7586_pipe_funcs = {
+ .mode_valid = mipi_dbi_pipe_mode_valid,
.enable = st7586_pipe_enable,
.disable = st7586_pipe_disable,
.update = st7586_pipe_update,