[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200924195030.GC1223313@ravnborg.org>
Date: Thu, 24 Sep 2020 21:50:30 +0200
From: Sam Ravnborg <sam@...nborg.org>
To: Yannick Fertre <yannick.fertre@...com>
Cc: Philippe Cornu <philippe.cornu@...com>,
Antonio Borneo <antonio.borneo@...com>,
Thierry Reding <thierry.reding@...il.com>,
David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drm/panel: rm68200: allow using non-continuous dsi clock
Hi Yannick
On Fri, Sep 18, 2020 at 01:47:36PM +0200, Yannick Fertre wrote:
> The panel is able to work when dsi clock is non-continuous, thus
> the system power consumption can be reduced using such feature.
>
> Add MIPI_DSI_CLOCK_NON_CONTINUOUS to panel's mode_flags.
>
> Signed-off-by: Antonio Borneo <antonio.borneo@...com>
> Signed-off-by: Yannick Fertre <yannick.fertre@...com>
Applied to drm-misc-next.
Sam
> ---
> drivers/gpu/drm/panel/panel-raydium-rm68200.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/panel/panel-raydium-rm68200.c b/drivers/gpu/drm/panel/panel-raydium-rm68200.c
> index f908eeafb1af..2b9e48b0a491 100644
> --- a/drivers/gpu/drm/panel/panel-raydium-rm68200.c
> +++ b/drivers/gpu/drm/panel/panel-raydium-rm68200.c
> @@ -391,7 +391,7 @@ static int rm68200_probe(struct mipi_dsi_device *dsi)
> dsi->lanes = 2;
> dsi->format = MIPI_DSI_FMT_RGB888;
> dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
> - MIPI_DSI_MODE_LPM;
> + MIPI_DSI_MODE_LPM | MIPI_DSI_CLOCK_NON_CONTINUOUS;
>
> drm_panel_init(&ctx->panel, dev, &rm68200_drm_funcs,
> DRM_MODE_CONNECTOR_DSI);
> --
> 2.17.1
Powered by blists - more mailing lists