mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 19:43:40 +02:00
drm/st7586: Call MIPI DBI mode_valid helper
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
This commit is contained in:
parent
fe2c021b63
commit
e06c123e1d
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user