提交 e06c123e 编写于 作者: T Thomas Zimmermann

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: NThomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: NNoralf Trønnes <noralf@tronnes.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20221202125644.7917-4-tzimmermann@suse.de
上级 fe2c021b
...@@ -263,6 +263,7 @@ static const u32 st7586_formats[] = { ...@@ -263,6 +263,7 @@ static const u32 st7586_formats[] = {
}; };
static const struct drm_simple_display_pipe_funcs st7586_pipe_funcs = { static const struct drm_simple_display_pipe_funcs st7586_pipe_funcs = {
.mode_valid = mipi_dbi_pipe_mode_valid,
.enable = st7586_pipe_enable, .enable = st7586_pipe_enable,
.disable = st7586_pipe_disable, .disable = st7586_pipe_disable,
.update = st7586_pipe_update, .update = st7586_pipe_update,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册