https://github.com/peksuj/CM4/blob/a787 ... 000.c#L270
Code:
static const struct drm_display_mode default_mode = {.clock = (454 + 66 + 20 + 60) * (454 + 26 + 8 + 12) * 60 / 1000, // 17249, //14374, //20124,...vtotal = 454 + 226 + 8 + 12, //(hactive + hfront_porch + hsync_len + hback_porch).flags = 0, //DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC,// .type = DRM_MODE_TYPE_DRIVER | DRM_MODE_TYPE_PREFERRED,..};
and change your comments as you have a vertical timing, but comment says horizontal. That's min effort when 'hacking' drivers (same as using find&replace for getting rid of the original driver name etc).
Statistics: Posted by aBUGSworstnightmare — Fri Jul 26, 2024 11:52 am