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

Configure Feed

Select the types of activity you want to include in your feed.

drm/panel: simple: Update timings for AUO G101EVN010

Switch to panel timings based on datasheet for the AUO G101EVN01.0
LVDS panel. Default timings were tested on the panel.

Previous mode-based timings resulted in horizontal display shift.

Signed-off-by: Kevin Baker <kevinb@ventureresearch.com>
Fixes: 4fb86404a977 ("drm/panel: simple: Add AUO G101EVN010 panel support")
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20250505170256.1385113-1-kevinb@ventureresearch.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>

authored by

Kevin Baker and committed by
Dmitry Baryshkov
d5d283d4 258aebf1

+13 -12
+13 -12
drivers/gpu/drm/panel/panel-simple.c
··· 1026 1026 }, 1027 1027 }; 1028 1028 1029 - static const struct drm_display_mode auo_g101evn010_mode = { 1030 - .clock = 68930, 1031 - .hdisplay = 1280, 1032 - .hsync_start = 1280 + 82, 1033 - .hsync_end = 1280 + 82 + 2, 1034 - .htotal = 1280 + 82 + 2 + 84, 1035 - .vdisplay = 800, 1036 - .vsync_start = 800 + 8, 1037 - .vsync_end = 800 + 8 + 2, 1038 - .vtotal = 800 + 8 + 2 + 6, 1029 + static const struct display_timing auo_g101evn010_timing = { 1030 + .pixelclock = { 64000000, 68930000, 85000000 }, 1031 + .hactive = { 1280, 1280, 1280 }, 1032 + .hfront_porch = { 8, 64, 256 }, 1033 + .hback_porch = { 8, 64, 256 }, 1034 + .hsync_len = { 40, 168, 767 }, 1035 + .vactive = { 800, 800, 800 }, 1036 + .vfront_porch = { 4, 8, 100 }, 1037 + .vback_porch = { 4, 8, 100 }, 1038 + .vsync_len = { 8, 16, 223 }, 1039 1039 }; 1040 1040 1041 1041 static const struct panel_desc auo_g101evn010 = { 1042 - .modes = &auo_g101evn010_mode, 1043 - .num_modes = 1, 1042 + .timings = &auo_g101evn010_timing, 1043 + .num_timings = 1, 1044 1044 .bpc = 6, 1045 1045 .size = { 1046 1046 .width = 216, 1047 1047 .height = 135, 1048 1048 }, 1049 1049 .bus_format = MEDIA_BUS_FMT_RGB666_1X7X3_SPWG, 1050 + .bus_flags = DRM_BUS_FLAG_DE_HIGH, 1050 1051 .connector_type = DRM_MODE_CONNECTOR_LVDS, 1051 1052 }; 1052 1053