2024-02-05 09:37:52

by Raphael Gallais-Pou

[permalink] [raw]
Subject: [PATCH 5/5] drm/panel: simple: push blanking limit on RK32FN48H

Push horizontal front porch and vertical back porch blanking limit.
This allows to get a 60 fps sharp.

Signed-off-by: Raphael Gallais-Pou <[email protected]>
---
drivers/gpu/drm/panel/panel-simple.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 7b286382ffb4..10b361d603be 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -3516,10 +3516,10 @@ static const struct display_timing rocktech_rk043fn48h_timing = {
.pixelclock = { 6000000, 9000000, 12000000 },
.hactive = { 480, 480, 480 },
.hback_porch = { 8, 43, 43 },
- .hfront_porch = { 2, 8, 8 },
+ .hfront_porch = { 2, 8, 10 },
.hsync_len = { 1, 1, 1 },
.vactive = { 272, 272, 272 },
- .vback_porch = { 2, 12, 12 },
+ .vback_porch = { 2, 12, 26 },
.vfront_porch = { 1, 4, 4 },
.vsync_len = { 1, 10, 10 },
.flags = DISPLAY_FLAGS_VSYNC_LOW | DISPLAY_FLAGS_HSYNC_LOW |

--
2.25.1



2024-02-06 08:18:04

by Neil Armstrong

[permalink] [raw]
Subject: Re: [PATCH 5/5] drm/panel: simple: push blanking limit on RK32FN48H

On 05/02/2024 10:26, Raphael Gallais-Pou wrote:
> Push horizontal front porch and vertical back porch blanking limit.
> This allows to get a 60 fps sharp.
>
> Signed-off-by: Raphael Gallais-Pou <[email protected]>
> ---
> drivers/gpu/drm/panel/panel-simple.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> index 7b286382ffb4..10b361d603be 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -3516,10 +3516,10 @@ static const struct display_timing rocktech_rk043fn48h_timing = {
> .pixelclock = { 6000000, 9000000, 12000000 },
> .hactive = { 480, 480, 480 },
> .hback_porch = { 8, 43, 43 },
> - .hfront_porch = { 2, 8, 8 },
> + .hfront_porch = { 2, 8, 10 },
> .hsync_len = { 1, 1, 1 },
> .vactive = { 272, 272, 272 },
> - .vback_porch = { 2, 12, 12 },
> + .vback_porch = { 2, 12, 26 },
> .vfront_porch = { 1, 4, 4 },
> .vsync_len = { 1, 10, 10 },
> .flags = DISPLAY_FLAGS_VSYNC_LOW | DISPLAY_FLAGS_HSYNC_LOW |
>

Reviewed-by: Neil Armstrong <[email protected]>

2024-02-06 17:39:23

by Jessica Zhang

[permalink] [raw]
Subject: Re: [PATCH 5/5] drm/panel: simple: push blanking limit on RK32FN48H



On 2/5/2024 1:26 AM, Raphael Gallais-Pou wrote:
> Push horizontal front porch and vertical back porch blanking limit.
> This allows to get a 60 fps sharp.
>
> Signed-off-by: Raphael Gallais-Pou <[email protected]>

Hi Raphael,

Reviewed-by: Jessica Zhang <[email protected]>

Thanks,

Jessica Zhang

> ---
> drivers/gpu/drm/panel/panel-simple.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> index 7b286382ffb4..10b361d603be 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -3516,10 +3516,10 @@ static const struct display_timing rocktech_rk043fn48h_timing = {
> .pixelclock = { 6000000, 9000000, 12000000 },
> .hactive = { 480, 480, 480 },
> .hback_porch = { 8, 43, 43 },
> - .hfront_porch = { 2, 8, 8 },
> + .hfront_porch = { 2, 8, 10 },
> .hsync_len = { 1, 1, 1 },
> .vactive = { 272, 272, 272 },
> - .vback_porch = { 2, 12, 12 },
> + .vback_porch = { 2, 12, 26 },
> .vfront_porch = { 1, 4, 4 },
> .vsync_len = { 1, 10, 10 },
> .flags = DISPLAY_FLAGS_VSYNC_LOW | DISPLAY_FLAGS_HSYNC_LOW |
>
> --
> 2.25.1
>

2024-02-07 09:19:43

by Neil Armstrong

[permalink] [raw]
Subject: Re: [PATCH 5/5] drm/panel: simple: push blanking limit on RK32FN48H

Hi,

On Mon, 05 Feb 2024 10:26:50 +0100, Raphael Gallais-Pou wrote:
> Push horizontal front porch and vertical back porch blanking limit.
> This allows to get a 60 fps sharp.
>
>

Thanks, Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-next)

[5/5] drm/panel: simple: push blanking limit on RK32FN48H
https://cgit.freedesktop.org/drm/drm-misc/commit/?id=c9424076d7642bf6e214eccf34904848c8b53515

--
Neil