Adds h/v sync polarity, which is hardcoded in display prepare, to drm_display_mode. Signed-off-by: Gerald Loacker <gerald.loacker@xxxxxxxxxxxxxx> --- drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c b/drivers/gpu/drm/panel/panel-sitronix-st7789v.c index 5d4542c12f44..24636722c2ff 100644 --- a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c +++ b/drivers/gpu/drm/panel/panel-sitronix-st7789v.c @@ -167,6 +167,7 @@ static const struct drm_display_mode default_mode = { .vsync_start = 320 + 8, .vsync_end = 320 + 8 + 4, .vtotal = 320 + 8 + 4 + 4, + .flags = DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC, }; static int st7789v_get_modes(struct drm_panel *panel, -- 2.37.2