lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8ef57d2e-9a43-434f-89d6-e99c0892abef@linaro.org>
Date: Tue, 16 Dec 2025 11:15:31 +0100
From: Neil Armstrong <neil.armstrong@...aro.org>
To: Matt Smith <matthew.j.smith2@...look.com>
Cc: Jessica Zhang <jessica.zhang@....qualcomm.com>,
 Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
 Maxime Ripard <mripard@...nel.org>, Thomas Zimmermann <tzimmermann@...e.de>,
 David Airlie <airlied@...il.com>, Simona Vetter <simona@...ll.ch>,
 dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drm/panel: osd-osd101t2587-53ts: migrate to
 mipi_dsi_turn_on_peripheral_multi

On 11/20/25 08:52, Neil Armstrong wrote:
> On 11/20/25 03:25, Matt Smith wrote:
>> Documentation/gpu/todo.rst lists to transition away from using
>> deprecated methods in drm_mipi_dsi.c, so migrating from
>> mipi_dsi_turn_on_peripheral to mipi_dsi_turn_on_peripheral_multi.
>>
>> Used commit e139c0eb22ce ("drm/panel: mantix-mlaf057we51: transition
>> to mipi_dsi wrapped functions") as a reference.
>>
>> Signed-off-by: Matt Smith <matthew.j.smith2@...look.com>
>> ---
>>   drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c | 11 ++++++-----
>>   1 file changed, 6 insertions(+), 5 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c b/drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c
>> index 2334b77f348c..45baf2c238d2 100644
>> --- a/drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c
>> +++ b/drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c
>> @@ -58,13 +58,14 @@ static int osd101t2587_panel_prepare(struct drm_panel *panel)
>>   static int osd101t2587_panel_enable(struct drm_panel *panel)
>>   {
>>          struct osd101t2587_panel *osd101t2587 = ti_osd_panel(panel);
>> -       int ret;
>>
>> -       ret = mipi_dsi_turn_on_peripheral(osd101t2587->dsi);
>> -       if (ret)
>> -               return ret;
>> +       struct mipi_dsi_multi_context dsi_ctx = {
>> +               .dsi = osd101t2587->dsi
>> +       };
>>
>> -       return ret;
>> +       mipi_dsi_turn_on_peripheral_multi(&dsi_ctx);
>> +
>> +       return dsi_ctx.accum_err;
>>   }
>>
>>   static const struct drm_display_mode default_mode_osd101t2587 = {
>> -- 
>> 2.49.0
>>
> 
> Reviewed-by: Neil Armstrong <neil.armstrong@...aro.org>

This doesn't apply anymore, please rebase.

Neil

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ