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] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJMQK-jkmw1iKmy1s6CU5rbngQWNPDS4zT23PnuDf2nGus=X2w@mail.gmail.com>
Date:   Tue, 8 Mar 2022 17:12:21 +0800
From:   Hsin-Yi Wang <hsinyi@...omium.org>
To:     Benjamin Gaignard <benjamin.gaignard@...labora.com>
Cc:     xinlei.lee@...iatek.com, chunkuang.hu@...nel.org,
        p.zabel@...gutronix.de, airlied@...ux.ie, daniel@...ll.ch,
        matthias.bgg@...il.com, dri-devel@...ts.freedesktop.org,
        linux-mediatek@...ts.infradead.org,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
        Project_Global_Chrome_Upstream_Group@...iatek.com,
        jitao.shi@...iatek.com, allen-kh.cheng@...iatek.com,
        Rex-BC.Chen@...iatek.com
Subject: Re: [PATCH v2, 0/4] Cooperate with DSI RX devices to modify dsi funcs
 and delay mipi high to cooperate with panel sequence

On Fri, Mar 4, 2022 at 7:25 PM Benjamin Gaignard
<benjamin.gaignard@...labora.com> wrote:
>
>
> Le 04/03/2022 à 11:15, xinlei.lee@...iatek.com a écrit :
> > From: Xinlei Lee <xinlei.lee@...iatek.com>
> >
> > In upstream-v5.8, dsi_enable will operate panel_enable, but this
> > modification has been moved in v5.9. In order to ensure the timing of
> > dsi_power_on/off and the timing of pulling up/down the MIPI signal,
> > the modification of v5.9 is synchronized in this series of patches.
>
> Hello,
>
> I'm trying to debug an issue on mt8183 kukui krane sku176 device.
> The problem is that boe-tv101wum-nl6 panel isn't working.
> At boot time I can see these logs:
> panel-boe-tv101wum-nl6 14014000.dsi.0: failed to write command 1
> panel-boe-tv101wum-nl6 14014000.dsi.0: failed to init panel: -62
> and a DSI interrupt time out.
>
> Since I believe the problem is link to DSI/panel enabling sequence
> I have try this series but that doesn't solve the issue.
> I notice that when going out of deep sleep mode panel is functional.
>
> May you have any idea to debug/solve this problem ?
>
Hi Benjamin,

I think this might not be related to this series. Which kernel are you using?
I tried the krane sku176 with linux-next 5.17-rc6
(519dd6c19986696f59847ff8bf930436ccffd9a1 (tag: next-20220307,
linux-next/master) with or without this series, both can get the display on.

dsi related message:
[    0.206330] mediatek-drm mediatek-drm.1.auto: Adding component
match for /soc/dsi@...14000
[    4.567577] panel-boe-tv101wum-nl6 14014000.dsi.0: supply pp3300
not found, using dummy regulator
[    4.567732] panel-boe-tv101wum-nl6 14014000.dsi.0: GPIO lookup for
consumer enable
[    4.567738] panel-boe-tv101wum-nl6 14014000.dsi.0: using device
tree for GPIO lookup
[    4.567757] of_get_named_gpiod_flags: parsed 'enable-gpios'
property of node '/soc/dsi@...14000/panel@0[0]' - status (0)
[    4.585884] panel-boe-tv101wum-nl6 14014000.dsi.0: supply pp3300
not found, using dummy regulator
[    4.586037] panel-boe-tv101wum-nl6 14014000.dsi.0: GPIO lookup for
consumer enable
[    4.586042] panel-boe-tv101wum-nl6 14014000.dsi.0: using device
tree for GPIO lookup
[    4.586059] of_get_named_gpiod_flags: parsed 'enable-gpios'
property of node '/soc/dsi@...14000/panel@0[0]' - status (0)
[    4.587430] mediatek-drm mediatek-drm.1.auto: bound 14014000.dsi
(ops 0xffffffd369a752b8)


Maybe some config is not enabled?



> Regards,
> Benjamin
>
> >
> > Changes since v1:
> > 1. Dsi sequence marked with patch adjustment
> > 2. Fixes: mtk_dsi: Use the drm_panel_bridge
> >
> > Jitao Shi (3):
> >    drm/mediatek: Adjust the timing of mipi signal from LP00 to LP11
> >    drm/mediatek: Separate poweron/poweroff from enable/disable and define
> >      new funcs
> >    drm/mediatek: keep dsi as LP00 before dcs cmds transfer
> >
> > Xinlei Lee (1):
> >    drm/mediatek: Add pull-down MIPI operation in mtk_dsi_poweroff
> >      function
> >
> >   drivers/gpu/drm/mediatek/mtk_dsi.c | 73 ++++++++++++++++++++----------
> >   1 file changed, 49 insertions(+), 24 deletions(-)
> >
>
> _______________________________________________
> Linux-mediatek mailing list
> Linux-mediatek@...ts.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-mediatek

Download attachment "config-5.17.0-rc6-next-20220307" of type "application/octet-stream" (200058 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ