From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vinay Simha B N Subject: Re: apq8016 : 4.14 kernel dsi bridge/panel not working Date: Thu, 12 Apr 2018 19:30:48 +0530 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1441816405==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: freedreno-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Freedreno" To: Rob Clark Cc: linux-arm-msm , "open list:DRM DRIVER FOR MSM ADRENO GPU" List-Id: linux-arm-msm@vger.kernel.org --===============1441816405== Content-Type: multipart/alternative; boundary="001a11490fe8ca512e0569a72eda" --001a11490fe8ca512e0569a72eda Content-Type: text/plain; charset="UTF-8" dsi is not initialized in lk, since no panel get selected. [6400] [6400] Device tree exact match the board: <247 65560 0 0x2> == <247 24 2 0x10000> [6410] [6410] Best match DTB tags 247/00010018/0x00000002/0/2000 b/0/0/0/908b7326/cbdb [6420] [6420] Using pmic info 0x2000b/0x0/0x0/0x0 for device 0x2000b/0x0/0x0/0x0 [6430] [6430] target_display_panel_node:510: hw_id=24 panel_name="" [190] [190] Neither 'config' nor 'frp' partition found [190] [190] Display Init: Start [200] [200] Not able to search the panel: [200] [200] Display not enabled for 24 HW type [200] [200] Target panel init not found! [210] [210] Display Init: Done i even tried adding in cmdline for clk_ignore_unused=1 pd_ignore_unused=1. in this case display will note come even for reboot/resume from suspend. actually dsi2lvds working in kernel-v4.4.23(kernel-16.09 linaro release) i do observer the same behaviour in kernel-v4.9.56 (kernel -17.09 linaro relase) and kernel-v4.14.15(kernel-18.01 linaro relase). so looks like there are some diffs between v4.4.23 - v4.9.56 On Thu, Apr 12, 2018 at 5:45 AM, Rob Clark wrote: > I'm not sure if this is any way related to (since you mentioned > regression btwn 4.9 and 4.14): > > https://lists.freedesktop.org/archives/dri-devel/2018-April/172152.html > > given the mention of working when resume from suspend, I might suggest > to try disabling bootloader enabling the display (ie. for splash > screen), since that can cause plenty of issues > > BR, > -R > > On Wed, Apr 11, 2018 at 12:38 PM, Vinay Simha B N > wrote: > > hi, > > > > we have apq8016 : IFC6309 board (ref : 410c snapdragon), dsi2lvds > interfaced > > to the board, dsi2lvds working fine in 4.9 kernel , but the same > dsi2lvds > > driver in 4.14 kernel it works only when system comes resumes from > suspend > > or when i issue the reboot command. > > It does not works when it boots, please suggest. > > > > attached kernel log > > https://pastebin.com/TUNWecQR > > > > kernel src > > https://github.com/vinaysimhabn/msm/commits/kernel-18.01-lvdsv1.0 > > > > > > -- > > regards, > > vinaysimha > > > > _______________________________________________ > > Freedreno mailing list > > Freedreno-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org > > https://lists.freedesktop.org/mailman/listinfo/freedreno > > > -- regards, vinaysimha --001a11490fe8ca512e0569a72eda Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

dsi is= not initialized in lk, since no panel get selected.=C2=A0
[6400] [6400] Device tree exact match the board: <247 = 65560 0 0x2> =3D=3D <247 24 2 0x10000>
[6410] [6410] Best match DTB tags 247/00010018/0x00000002/0/2000b/0/0/0/908b7326/cbdb
[6420] [6420] Usin= g pmic info 0x2000b/0x0/0x0/0x0 for device 0x2000b/0x0/0x0/0x0
=
[6430] [6430] target_display_panel_node:510: hw_id=3D= 24 panel_name=3D""
[190] [190]= Neither 'config' nor 'frp' partition found
[190] [190] Display Init: Start
= [200] [200] Not able to search the panel:
[200= ] [200] Display not enabled for 24 HW type
[20= 0] [200] Target panel init not found!
[210] [2= 10] Display Init: Done=C2=A0

<= div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:sma= ll;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal= ;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;tex= t-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(2= 55,255,255);text-decoration-style:initial;text-decoration-color:initial">i even tried adding in cmdline for=C2=A0clk_ignore_unused=3D1 pd_ignore= _unused=3D1. in this case display will note come even for reboot/resume fro= m suspend.

actual= ly dsi2lvds working in kernel-v4.4.23(kernel-16.09 linaro release)

i do observer the same behaviour in kernel-v4.9.56 (kernel -17.09 linaro relase) and kernel-v4.14.15(kernel-18.0= 1 linaro relase).

so looks like there are some diffs between = v4.4.23 - v4.9.56


On Thu, Apr 12, 2018 at 5:45 AM, Rob Clark = <robdclark-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
I'm not sure if this is any way related to (since you mentioned regression btwn 4.9 and 4.14):

https://lists.freedesktop.org= /archives/dri-devel/2018-April/172152.html

given the mention of working when resume from suspend, I might suggest
to try disabling bootloader enabling the display (ie. for splash
screen), since that can cause plenty of issues

BR,
-R

On Wed, Apr 11, 2018 at 12:38 PM, Vinay Simha B N <simhavcs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> hi,
>
> we have apq8016 : IFC6309 board (ref : 410c snapdragon), dsi2lvds inte= rfaced
> to the board, dsi2lvds working fine in 4.9 kernel=C2=A0 , but the same= dsi2lvds
> driver in 4.14 kernel it works only when system comes resumes from sus= pend
> or when i issue the reboot command.
> It does not works when it boots, please suggest.
>
> attached kernel log
> https://pastebin.com/TUNWecQR
>
> kernel src
> https://github.com/vinays= imhabn/msm/commits/kernel-18.01-lvdsv1.0
>
>
> --
> regards,
> vinaysimha
>
> _______________________________________________
> Freedreno mailing list
> Freedreno-PD4FTy7X32mzQB+pC5nmwQ@public.gmane.org= edesktop.org
> https://lists.freedesktop.org/mail= man/listinfo/freedreno
>



--
regards,
vinaysi= mha
--001a11490fe8ca512e0569a72eda-- --===============1441816405== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KRnJlZWRyZW5v IG1haWxpbmcgbGlzdApGcmVlZHJlbm9AbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZnJlZWRyZW5vCg== --===============1441816405==--