diff mbox series

[03/33] drm/panel-feixin-k101-im2ba02: Fix dotclock

Message ID 20200302203452.17977-4-ville.syrjala@linux.intel.com (mailing list archive)
State New, archived
Headers show
Series drm/panel: Fix dotclocks | expand

Commit Message

Ville Syrjälä March 2, 2020, 8:34 p.m. UTC
From: Ville Syrjälä <ville.syrjala@linux.intel.com>

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: Icenowy Zheng <icenowy@aosc.io>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 drivers/gpu/drm/panel/panel-feixin-k101-im2ba02.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Icenowy Zheng March 2, 2020, 11:36 p.m. UTC | #1
于 2020年3月3日 GMT+08:00 上午4:34:22, Ville Syrjala <ville.syrjala@linux.intel.com> 写到:
>From: Ville Syrjälä <ville.syrjala@linux.intel.com>
>
>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?

dotclock is correct and vrefresh is only a placeholder value.

>
>Cc: Icenowy Zheng <icenowy@aosc.io>
>Cc: Sam Ravnborg <sam@ravnborg.org>
>Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
>---
> drivers/gpu/drm/panel/panel-feixin-k101-im2ba02.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/drivers/gpu/drm/panel/panel-feixin-k101-im2ba02.c
>b/drivers/gpu/drm/panel/panel-feixin-k101-im2ba02.c
>index fddbfddf6566..8debee85f4ec 100644
>--- a/drivers/gpu/drm/panel/panel-feixin-k101-im2ba02.c
>+++ b/drivers/gpu/drm/panel/panel-feixin-k101-im2ba02.c
>@@ -391,7 +391,7 @@ static int k101_im2ba02_unprepare(struct drm_panel
>*panel)
> }
> 
> static const struct drm_display_mode k101_im2ba02_default_mode = {
>-	.clock = 70000,
>+	.clock = 67286,
> 	.vrefresh = 60,
> 
> 	.hdisplay = 800,
Ville Syrjälä March 3, 2020, 2:51 p.m. UTC | #2
On Tue, Mar 03, 2020 at 07:36:35AM +0800, Icenowy Zheng wrote:
> 
> 
> 于 2020年3月3日 GMT+08:00 上午4:34:22, Ville Syrjala <ville.syrjala@linux.intel.com> 写到:
> >From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> >
> >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?
> 
> dotclock is correct and vrefresh is only a placeholder value.

Thanks. I'll drop this one.

> 
> >
> >Cc: Icenowy Zheng <icenowy@aosc.io>
> >Cc: Sam Ravnborg <sam@ravnborg.org>
> >Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> >---
> > drivers/gpu/drm/panel/panel-feixin-k101-im2ba02.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> >diff --git a/drivers/gpu/drm/panel/panel-feixin-k101-im2ba02.c
> >b/drivers/gpu/drm/panel/panel-feixin-k101-im2ba02.c
> >index fddbfddf6566..8debee85f4ec 100644
> >--- a/drivers/gpu/drm/panel/panel-feixin-k101-im2ba02.c
> >+++ b/drivers/gpu/drm/panel/panel-feixin-k101-im2ba02.c
> >@@ -391,7 +391,7 @@ static int k101_im2ba02_unprepare(struct drm_panel
> >*panel)
> > }
> > 
> > static const struct drm_display_mode k101_im2ba02_default_mode = {
> >-	.clock = 70000,
> >+	.clock = 67286,
> > 	.vrefresh = 60,
> > 
> > 	.hdisplay = 800,
> 
> -- 
> 使用 K-9 Mail 发送自我的Android设备。
diff mbox series

Patch

diff --git a/drivers/gpu/drm/panel/panel-feixin-k101-im2ba02.c b/drivers/gpu/drm/panel/panel-feixin-k101-im2ba02.c
index fddbfddf6566..8debee85f4ec 100644
--- a/drivers/gpu/drm/panel/panel-feixin-k101-im2ba02.c
+++ b/drivers/gpu/drm/panel/panel-feixin-k101-im2ba02.c
@@ -391,7 +391,7 @@  static int k101_im2ba02_unprepare(struct drm_panel *panel)
 }
 
 static const struct drm_display_mode k101_im2ba02_default_mode = {
-	.clock = 70000,
+	.clock = 67286,
 	.vrefresh = 60,
 
 	.hdisplay = 800,