Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit b62c150

Browse files
Gerald08superna9999
authored andcommitted
drm/panel: sitronix-st7789v: fix display size for jt240mhqs_hwt_ek_e3 panel
This is a portrait mode display. Change the dimensions accordingly. Fixes: 0fbbe96 ("drm/panel: sitronix-st7789v: add jasonic jt240mhqs-hwt-ek-e3 support") Signed-off-by: Gerald Loacker <gerald.loacker@wolfvision.net> Acked-by: Jessica Zhang <quic_jesszhan@quicinc.com> Link: https://lore.kernel.org/r/20240409-bugfix-jt240mhqs_hwt_ek_e3-timing-v2-3-e4821802443d@wolfvision.net Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20240409-bugfix-jt240mhqs_hwt_ek_e3-timing-v2-3-e4821802443d@wolfvision.net
1 parent 2ba5058 commit b62c150

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/gpu/drm/panel/panel-sitronix-st7789v.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,8 @@ static const struct drm_display_mode jt240mhqs_hwt_ek_e3_mode = {
289289
.vsync_start = 280 + 48,
290290
.vsync_end = 280 + 48 + 4,
291291
.vtotal = 280 + 48 + 4 + 4,
292-
.width_mm = 43,
293-
.height_mm = 37,
292+
.width_mm = 37,
293+
.height_mm = 43,
294294
.flags = DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC,
295295
};
296296

0 commit comments

Comments
 (0)