Other Parts Discussed in Thread: AM4372
Hi:
SDK:07.03.00.005
kernel:5.14.106
I added my own display timing panel information to panel-simple.c. There are two screens, one is 1280*720 and another is 1280*800. Now I find that the 1280*800 screen cannot be displayed. but 1280*720 is normal
1280x720 timing info:
static const struct drm_display_mode ev156fhm_n10_mode = {
//720P 60 standard vesa
.clock = 74250,
.hdisplay = 1280,
.hsync_start = 1280 + 110,
.hsync_end = 1280 + 110 + 40,
.htotal = 1280 + 110 + 40 + 220,
.vdisplay = 720,
.vsync_start = 720 + 5,
.vsync_end = 720 + 5 + 5,
.vtotal = 720 + 5 + 5 + 20,
.vrefresh = 60,
.flags = DRM_MODE_FLAG_NVSYNC | DRM_MODE_FLAG_NHSYNC,
}
static const struct panel_desc edp_ev156fhm_n10 = {
.modes = &ev156fhm_n10_mode,
.num_modes = 1,
.bpc = 6,
.size = {
.width = 344,
.height = 193,
},
.bus_format = MEDIA_BUS_FMT_RGB565_1X16,
.bus_flags = DRM_BUS_FLAG_DE_HIGH,
};
1280x800 timing info:
static const struct drm_display_mode m101nwwb_r3_mode = {
.clock = 71100,
.hdisplay = 1280,
.hsync_start = 1280 + 48,
.hsync_end = 1280 + 48 + 32,
.htotal = 1280 + 48 + 32 + 80,
.vdisplay = 800,
.vsync_start = 800 + 3,
.vsync_end = 800 + 3 + 6,
.vtotal = 800 + 3 + 6 + 14,
.vrefresh = 60,
.flags = DRM_MODE_FLAG_NVSYNC | DRM_MODE_FLAG_NHSYNC,
};
static const struct panel_desc lvds_m101nwwb_r3 = {
.modes = &m101nwwb_r3_mode,
.num_modes = 1,
.bpc = 6,
.size = {
.width = 216,
.height = 135,
},
.bus_flags = DRM_BUS_FLAG_DE_HIGH,
.bus_format = MEDIA_BUS_FMT_RGB565_1X16,
};
use timing 1280*800, has prompt message:"Cannot find any CRTC or SIZES"
However, both 1280*720 and 1280*800 timing information is displayed normally in the SDK 06.03 kernel 4.19.94
Is there a resolution restriction in the new kernel?