Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

+1
+1
drivers/gpu/drm/tiny/st7586.c
··· 263 263 }; 264 264 265 265 static const struct drm_simple_display_pipe_funcs st7586_pipe_funcs = { 266 + .mode_valid = mipi_dbi_pipe_mode_valid, 266 267 .enable = st7586_pipe_enable, 267 268 .disable = st7586_pipe_disable, 268 269 .update = st7586_pipe_update,