diff options
Diffstat (limited to 'drivers/gpu/drm/panel/panel-simple.c')
-rw-r--r-- | drivers/gpu/drm/panel/panel-simple.c | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index f9649bded63f..7d3cecd3b48a 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c | |||
@@ -1741,23 +1741,22 @@ static const struct panel_desc sharp_lq101k1ly04 = { | |||
1741 | .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA, | 1741 | .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA, |
1742 | }; | 1742 | }; |
1743 | 1743 | ||
1744 | static const struct drm_display_mode sharp_lq123p1jx31_mode = { | 1744 | static const struct display_timing sharp_lq123p1jx31_timing = { |
1745 | .clock = 252750, | 1745 | .pixelclock = { 252750000, 252750000, 266604720 }, |
1746 | .hdisplay = 2400, | 1746 | .hactive = { 2400, 2400, 2400 }, |
1747 | .hsync_start = 2400 + 48, | 1747 | .hfront_porch = { 48, 48, 48 }, |
1748 | .hsync_end = 2400 + 48 + 32, | 1748 | .hback_porch = { 80, 80, 84 }, |
1749 | .htotal = 2400 + 48 + 32 + 80, | 1749 | .hsync_len = { 32, 32, 32 }, |
1750 | .vdisplay = 1600, | 1750 | .vactive = { 1600, 1600, 1600 }, |
1751 | .vsync_start = 1600 + 3, | 1751 | .vfront_porch = { 3, 3, 3 }, |
1752 | .vsync_end = 1600 + 3 + 10, | 1752 | .vback_porch = { 33, 33, 120 }, |
1753 | .vtotal = 1600 + 3 + 10 + 33, | 1753 | .vsync_len = { 10, 10, 10 }, |
1754 | .vrefresh = 60, | 1754 | .flags = DISPLAY_FLAGS_VSYNC_LOW | DISPLAY_FLAGS_HSYNC_LOW, |
1755 | .flags = DRM_MODE_FLAG_NVSYNC | DRM_MODE_FLAG_NHSYNC, | ||
1756 | }; | 1755 | }; |
1757 | 1756 | ||
1758 | static const struct panel_desc sharp_lq123p1jx31 = { | 1757 | static const struct panel_desc sharp_lq123p1jx31 = { |
1759 | .modes = &sharp_lq123p1jx31_mode, | 1758 | .timings = &sharp_lq123p1jx31_timing, |
1760 | .num_modes = 1, | 1759 | .num_timings = 1, |
1761 | .bpc = 8, | 1760 | .bpc = 8, |
1762 | .size = { | 1761 | .size = { |
1763 | .width = 259, | 1762 | .width = 259, |