| .. | .. |
|---|
| 192 | 192 | } |
|---|
| 193 | 193 | |
|---|
| 194 | 194 | static const struct drm_display_mode default_mode = { |
|---|
| 195 | | - .clock = 41118, |
|---|
| 195 | + .clock = (540 + 48 + 32 + 80) * (960 + 3 + 10 + 15) * 60 / 1000, |
|---|
| 196 | 196 | .hdisplay = 540, |
|---|
| 197 | 197 | .hsync_start = 540 + 48, |
|---|
| 198 | | - .hsync_end = 540 + 48 + 80, |
|---|
| 199 | | - .htotal = 540 + 48 + 80 + 32, |
|---|
| 198 | + .hsync_end = 540 + 48 + 32, |
|---|
| 199 | + .htotal = 540 + 48 + 32 + 80, |
|---|
| 200 | 200 | .vdisplay = 960, |
|---|
| 201 | 201 | .vsync_start = 960 + 3, |
|---|
| 202 | | - .vsync_end = 960 + 3 + 15, |
|---|
| 203 | | - .vtotal = 960 + 3 + 15 + 1, |
|---|
| 202 | + .vsync_end = 960 + 3 + 10, |
|---|
| 203 | + .vtotal = 960 + 3 + 10 + 15, |
|---|
| 204 | 204 | }; |
|---|
| 205 | 205 | |
|---|
| 206 | 206 | static int sharp_nt_panel_get_modes(struct drm_panel *panel, |
|---|
| .. | .. |
|---|
| 280 | 280 | dsi->lanes = 2; |
|---|
| 281 | 281 | dsi->format = MIPI_DSI_FMT_RGB888; |
|---|
| 282 | 282 | dsi->mode_flags = MIPI_DSI_MODE_VIDEO | |
|---|
| 283 | + MIPI_DSI_MODE_VIDEO_SYNC_PULSE | |
|---|
| 283 | 284 | MIPI_DSI_MODE_VIDEO_HSE | |
|---|
| 284 | 285 | MIPI_DSI_CLOCK_NON_CONTINUOUS | |
|---|
| 285 | 286 | MIPI_DSI_MODE_EOT_PACKET; |
|---|