Message ID | 20200302203452.17977-3-ville.syrjala@linux.intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | drm/panel: Fix dotclocks | expand |
On Mon, Mar 2, 2020 at 9:35 PM Ville Syrjala <ville.syrjala@linux.intel.com> wrote: > From: Ville Syrjälä <ville.syrjala@linux.intel.com> > > 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? I actually answered this in the mail thread where refresh was deleted: These dotclocks are correct. Delete the incorrect vrefresh instead. So please drop this patch. Thanks, Linus Walleij
On Tue, Mar 03, 2020 at 01:10:26PM +0100, Linus Walleij wrote: > On Mon, Mar 2, 2020 at 9:35 PM Ville Syrjala > <ville.syrjala@linux.intel.com> wrote: > > > From: Ville Syrjälä <ville.syrjala@linux.intel.com> > > > > 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? > > I actually answered this in the mail thread where refresh was > deleted: Sorry for the dupe. The thread turned into a mess so I just decided to start from a clean slate. > > These dotclocks are correct. Delete the incorrect vrefresh instead. > > So please drop this patch. Will do. Thanks.
diff --git a/drivers/gpu/drm/panel/panel-arm-versatile.c b/drivers/gpu/drm/panel/panel-arm-versatile.c index 41444a73c980..ef49ba206eea 100644 --- a/drivers/gpu/drm/panel/panel-arm-versatile.c +++ b/drivers/gpu/drm/panel/panel-arm-versatile.c @@ -158,7 +158,7 @@ static const struct versatile_panel_type versatile_panels[] = { .width_mm = 171, .height_mm = 130, .mode = { - .clock = 25000, + .clock = 24696, .hdisplay = 640, .hsync_start = 640 + 24, .hsync_end = 640 + 24 + 96, @@ -181,7 +181,7 @@ static const struct versatile_panel_type versatile_panels[] = { .width_mm = 34, .height_mm = 45, .mode = { - .clock = 62500, + .clock = 16002, .hdisplay = 176, .hsync_start = 176 + 2, .hsync_end = 176 + 2 + 3, @@ -205,7 +205,7 @@ static const struct versatile_panel_type versatile_panels[] = { .width_mm = 37, .height_mm = 50, .mode = { - .clock = 5400, + .clock = 10588, .hdisplay = 240, .hsync_start = 240 + 10, .hsync_end = 240 + 10 + 10,