[PATCH 05/33] drm/panel-leadtek-ltk500hd1829: Fix dotclock

Heiko Stuebner heiko.stuebner at theobroma-systems.com
Tue Mar 3 12:52:27 UTC 2020


Hi,

Am Montag, 2. März 2020, 21:34:24 CET schrieb Ville Syrjala:
> From: Ville Syrjälä <ville.syrjala at 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?

The values came that way from the vendor .
And lookin at other Leadtek display datasheets, 60Hz should be the
correct refresh rate.

The display is also running happily at the 69MHz of
your patch, so

Tested-by: Heiko Stuebner <heiko.stuebner at theobroma-systems.com>


Heiko

> 
> Cc: Heiko Stuebner <heiko.stuebner at theobroma-systems.com>
> Cc: Sam Ravnborg <sam at ravnborg.org>
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
> ---
>  drivers/gpu/drm/panel/panel-leadtek-ltk500hd1829.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/panel/panel-leadtek-ltk500hd1829.c b/drivers/gpu/drm/panel/panel-leadtek-ltk500hd1829.c
> index 76ecf2de9c44..113ab9c0396b 100644
> --- a/drivers/gpu/drm/panel/panel-leadtek-ltk500hd1829.c
> +++ b/drivers/gpu/drm/panel/panel-leadtek-ltk500hd1829.c
> @@ -377,7 +377,7 @@ static const struct drm_display_mode default_mode = {
>  	.vsync_end	= 1280 + 30 + 4,
>  	.vtotal		= 1280 + 30 + 4 + 12,
>  	.vrefresh	= 60,
> -	.clock		= 41600,
> +	.clock		= 69217,
>  	.width_mm	= 62,
>  	.height_mm	= 110,
>  };
> 






More information about the dri-devel mailing list