]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/panel: mantix: Set the pixel clocks for 60 Hz
authorSebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Wed, 18 Feb 2026 19:47:23 +0000 (20:47 +0100)
committerNeil Armstrong <neil.armstrong@linaro.org>
Tue, 10 Mar 2026 13:26:00 +0000 (14:26 +0100)
These are 60 Hz panels, but the currently set pixel clocks result in modes
with refresh rates of 63 Hz and ~63.41 Hz.

Adjust the clocks to target 60 Hz.

Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20260218-mantix-pixel-clock-v1-1-c22c034ba5c1@puri.sm
drivers/gpu/drm/panel/panel-mantix-mlaf057we51.c

index 02e203e9f41ad3316115969ce0835b896ca2eed5..27e188bb2d7f6c658290a3945ac53fb52c228f76 100644 (file)
@@ -168,7 +168,7 @@ static const struct drm_display_mode default_mode_mantix = {
        .vsync_start = 1440 + 130,
        .vsync_end   = 1440 + 130 + 8,
        .vtotal      = 1440 + 130 + 8 + 106,
-       .clock       = 85298,
+       .clock       = 81237,
        .flags       = DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC,
        .width_mm    = 65,
        .height_mm   = 130,
@@ -183,7 +183,7 @@ static const struct drm_display_mode default_mode_ys = {
        .vsync_start = 1440 + 175,
        .vsync_end   = 1440 + 175 + 8,
        .vtotal      = 1440 + 175 + 8 + 50,
-       .clock       = 85298,
+       .clock       = 80706,
        .flags       = DRM_MODE_FLAG_NHSYNC | DRM_MODE_FLAG_NVSYNC,
        .width_mm    = 65,
        .height_mm   = 130,