Commit b62c150c authored by Gerald Loacker's avatar Gerald Loacker Committed by Neil Armstrong

drm/panel: sitronix-st7789v: fix display size for jt240mhqs_hwt_ek_e3 panel

This is a portrait mode display. Change the dimensions accordingly.

Fixes: 0fbbe96b ("drm/panel: sitronix-st7789v: add jasonic jt240mhqs-hwt-ek-e3 support")
Signed-off-by: default avatarGerald Loacker <gerald.loacker@wolfvision.net>
Acked-by: default avatarJessica Zhang <quic_jesszhan@quicinc.com>
Link: https://lore.kernel.org/r/20240409-bugfix-jt240mhqs_hwt_ek_e3-timing-v2-3-e4821802443d@wolfvision.netSigned-off-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240409-bugfix-jt240mhqs_hwt_ek_e3-timing-v2-3-e4821802443d@wolfvision.net
parent 2ba50582
...@@ -289,8 +289,8 @@ static const struct drm_display_mode jt240mhqs_hwt_ek_e3_mode = { ...@@ -289,8 +289,8 @@ static const struct drm_display_mode jt240mhqs_hwt_ek_e3_mode = {
.vsync_start = 280 + 48, .vsync_start = 280 + 48,
.vsync_end = 280 + 48 + 4, .vsync_end = 280 + 48 + 4,
.vtotal = 280 + 48 + 4 + 4, .vtotal = 280 + 48 + 4 + 4,
.width_mm = 43, .width_mm = 37,
.height_mm = 37, .height_mm = 43,
.flags = DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC, .flags = DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment