check the all mode value to get correct mode 90/218090/1
authorJunkyeong Kim <jk0430.kim@samsung.com>
Tue, 19 Nov 2019 09:06:09 +0000 (18:06 +0900)
committerJunkyeong Kim <jk0430.kim@samsung.com>
Tue, 19 Nov 2019 09:06:12 +0000 (18:06 +0900)
Change-Id: I9628f09b7276a3414da35da0c70a7b77673af142
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
src/tdm_vc4_display.c

index 0f83a66..1611203 100644 (file)
@@ -105,7 +105,16 @@ _tdm_vc4_display_get_mode(tdm_vc4_output_data *output_data)
                                 vc4_mode->name, vc4_mode->hdisplay, vc4_mode->vdisplay, vc4_mode->vrefresh, vc4_mode->flags, vc4_mode->type);
 
                if ((vc4_mode->hdisplay == output_data->current_mode->hdisplay) &&
+                       (vc4_mode->hsync_start == output_data->current_mode->hsync_start) &&
+                       (vc4_mode->hsync_end == output_data->current_mode->hsync_end) &&
+                       (vc4_mode->htotal == output_data->current_mode->htotal) &&
+                       (vc4_mode->hskew == output_data->current_mode->hskew) &&
                        (vc4_mode->vdisplay == output_data->current_mode->vdisplay) &&
+                       (vc4_mode->vsync_start == output_data->current_mode->vsync_start) &&
+                       (vc4_mode->vsync_end == output_data->current_mode->vsync_end) &&
+                       (vc4_mode->vtotal == output_data->current_mode->vtotal) &&
+                       (vc4_mode->vscan == output_data->current_mode->vscan) &&
+                       (vc4_mode->clock == output_data->current_mode->clock) &&
                        (vc4_mode->vrefresh == output_data->current_mode->vrefresh) &&
                        (vc4_mode->flags == output_data->current_mode->flags) &&
                        (vc4_mode->type == output_data->current_mode->type) &&