mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Philippe CORNU <philippe.cornu@st.com>
To: Yannick FERTRE <yannick.fertre@st.com>,
	Antonio BORNEO <antonio.borneo@st.com>,
	Thierry Reding <thierry.reding@gmail.com>,
	"Sam Ravnborg" <sam@ravnborg.org>,
	David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>,
	"dri-devel@lists.freedesktop.org"
	<dri-devel@lists.freedesktop.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] drm/panel: rm68200: fix mode to 50fps
Date: Mon, 12 Oct 2020 15:31:32 +0000	[thread overview]
Message-ID: <b8b082c2-4543-4080-cf6e-d14fed712669@st.com> (raw)
In-Reply-To: <20200925141618.12097-1-yannick.fertre@st.com>



On 9/25/20 4:16 PM, Yannick Fertre wrote:
> Compute new timings to get a framerate of 50fps with a pixel clock
> @54Mhz.
> 
> Signed-off-by: Yannick Fertre <yannick.fertre@st.com>
> ---
>   drivers/gpu/drm/panel/panel-raydium-rm68200.c | 12 ++++++------
>   1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/drivers/gpu/drm/panel/panel-raydium-rm68200.c b/drivers/gpu/drm/panel/panel-raydium-rm68200.c
> index 2b9e48b0a491..412c0dbcb2b6 100644
> --- a/drivers/gpu/drm/panel/panel-raydium-rm68200.c
> +++ b/drivers/gpu/drm/panel/panel-raydium-rm68200.c
> @@ -82,15 +82,15 @@ struct rm68200 {
>   };
>   
>   static const struct drm_display_mode default_mode = {
> -	.clock = 52582,
> +	.clock = 54000,
>   	.hdisplay = 720,
> -	.hsync_start = 720 + 38,
> -	.hsync_end = 720 + 38 + 8,
> -	.htotal = 720 + 38 + 8 + 38,
> +	.hsync_start = 720 + 48,
> +	.hsync_end = 720 + 48 + 9,
> +	.htotal = 720 + 48 + 9 + 48,
>   	.vdisplay = 1280,
>   	.vsync_start = 1280 + 12,
> -	.vsync_end = 1280 + 12 + 4,
> -	.vtotal = 1280 + 12 + 4 + 12,
> +	.vsync_end = 1280 + 12 + 5,
> +	.vtotal = 1280 + 12 + 5 + 12,
>   	.flags = 0,
>   	.width_mm = 68,
>   	.height_mm = 122,
> 

Hi Yannick,
Tested-by: Philippe Cornu <philippe.cornu@st.com>
Thank you,
Philippe

  reply	other threads:[~2020-10-12 15:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-25 14:16 Yannick Fertre
2020-10-12 15:31 ` Philippe CORNU [this message]
2020-10-16 20:51 ` Sam Ravnborg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b8b082c2-4543-4080-cf6e-d14fed712669@st.com \
    --to=philippe.cornu@st.com \
    --cc=airlied@linux.ie \
    --cc=antonio.borneo@st.com \
    --cc=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sam@ravnborg.org \
    --cc=thierry.reding@gmail.com \
    --cc=yannick.fertre@st.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®