OSDN Git Service

drm/panel-lg-lg4573: Fix dotclock
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 2 Mar 2020 20:34:25 +0000 (22:34 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 11 Mar 2020 14:39:06 +0000 (16:39 +0200)
The currently listed dotclock disagrees with the currently
listed vrefresh rate. Change the dotclock to match the vrefresh.

Someone tell me which (if either) of the dotclock or vreresh is
correct?

Cc: Heiko Schocher <hs@denx.de>
Cc: Thierry Reding <treding@nvidia.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200302203452.17977-7-ville.syrjala@linux.intel.com
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/gpu/drm/panel/panel-lg-lg4573.c

index b262b53..5907f25 100644 (file)
@@ -197,7 +197,7 @@ static int lg4573_enable(struct drm_panel *panel)
 }
 
 static const struct drm_display_mode default_mode = {
-       .clock = 27000,
+       .clock = 28341,
        .hdisplay = 480,
        .hsync_start = 480 + 10,
        .hsync_end = 480 + 10 + 59,