]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/panel-sony-acx424akp: Fix dotclocks
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 2 Mar 2020 20:34:27 +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 dotclocks disagree with the currently
listed vrefresh rates. Change the dotclocks to match the vrefresh.

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

Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200302203452.17977-9-ville.syrjala@linux.intel.com
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpu/drm/panel/panel-sony-acx424akp.c

index de0abf76ae6fd7e86963647c8d20c5205e673483..c91e55b2d7a3b608ce205adc3288f7a8a3429be1 100644 (file)
@@ -48,7 +48,7 @@ struct acx424akp {
 };
 
 static const struct drm_display_mode sony_acx424akp_vid_mode = {
-       .clock = 330000,
+       .clock = 27234,
        .hdisplay = 480,
        .hsync_start = 480 + 15,
        .hsync_end = 480 + 15 + 0,
@@ -68,7 +68,7 @@ static const struct drm_display_mode sony_acx424akp_vid_mode = {
  * command mode using the maximum HS frequency.
  */
 static const struct drm_display_mode sony_acx424akp_cmd_mode = {
-       .clock = 420160,
+       .clock = 35478,
        .hdisplay = 480,
        .hsync_start = 480 + 154,
        .hsync_end = 480 + 154 + 16,