Re: [PATCH] drm/panel: raydium-rm692e5: transition to mipi_dsi wrapped functions

2024-06-18 Thread Tejas Vipin
On 6/18/24 7:06 PM, Doug Anderson wrote: > Hi, > > On Tue, Jun 18, 2024 at 5:25 AM Tejas Vipin wrote: >> rm692e5_reset(ctx); - ret = rm692e5_on(ctx); - if (ret < 0) { - dev_err(dev, "Failed to initialize panel: %d\n", ret); +

Re: [PATCH] drm/panel: raydium-rm692e5: transition to mipi_dsi wrapped functions

2024-06-18 Thread Doug Anderson
Hi, On Tue, Jun 18, 2024 at 5:25 AM Tejas Vipin wrote: > > >> rm692e5_reset(ctx); > >> > >> - ret = rm692e5_on(ctx); > >> - if (ret < 0) { > >> - dev_err(dev, "Failed to initialize panel: %d\n", ret); > >> + dsi_ctx.accum_err = rm692e5_on(ctx); > >> +

Re: [PATCH] drm/panel: raydium-rm692e5: transition to mipi_dsi wrapped functions

2024-06-18 Thread Tejas Vipin
On 6/18/24 1:36 AM, Doug Anderson wrote: > Hi, > > On Sat, Jun 15, 2024 at 2:40 AM Tejas Vipin wrote: >> >> @@ -168,48 +147,38 @@ static int rm692e5_prepare(struct drm_panel *panel) >> struct rm692e5_panel *ctx = to_rm692e5_panel(panel); >> struct drm_dsc_picture_parameter_set

Re: [PATCH] drm/panel: raydium-rm692e5: transition to mipi_dsi wrapped functions

2024-06-17 Thread Doug Anderson
Hi, On Sat, Jun 15, 2024 at 2:40 AM Tejas Vipin wrote: > > @@ -168,48 +147,38 @@ static int rm692e5_prepare(struct drm_panel *panel) > struct rm692e5_panel *ctx = to_rm692e5_panel(panel); > struct drm_dsc_picture_parameter_set pps; > struct device *dev = &ctx->dsi->dev; >

[PATCH] drm/panel: raydium-rm692e5: transition to mipi_dsi wrapped functions

2024-06-15 Thread Tejas Vipin
Use functions introduced in commit 966e397e4f60 ("drm/mipi-dsi: Introduce mipi_dsi_*_write_seq_multi()") and commit f79d6d28d8fe ("drm/mipi-dsi: wrap more functions for streamline handling") for the raydium rm692e5 panel. Signed-off-by: Tejas Vipin --- drivers/gpu/drm/panel/panel-raydium-rm692e5