diff options
author | Thomas Zimmermann <[email protected]> | 2022-12-02 13:56:39 +0100 |
---|---|---|
committer | Thomas Zimmermann <[email protected]> | 2022-12-05 13:36:05 +0100 |
commit | e06c123e1d7c0668d27f1d92d5f778c7a737ddf7 (patch) | |
tree | 90e6feb4a0d9f3db7db05e4762d0e23f4de2db9d | |
parent | fe2c021b63e1831c740d473d39f8569749a8c2dc (diff) |
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 <[email protected]>
Reviewed-by: Noralf Trønnes <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r-- | drivers/gpu/drm/tiny/st7586.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tiny/st7586.c b/drivers/gpu/drm/tiny/st7586.c index ce57fa9917e5..6bdd23e2a47c 100644 --- 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, |