From: Caleb Connolly <caleb@connolly.tech> To: Saravana Kannan <saravanak@google.com>, Rob Clark <robdclark@gmail.com> Cc: John Stultz <john.stultz@linaro.org>, Amit Pundir <amit.pundir@linaro.org>, Bjorn Andersson <bjorn.andersson@linaro.org>, Douglas Anderson <dianders@chromium.org>, Stephen Boyd <swboyd@chromium.org>, linux-arm-msm <linux-arm-msm@vger.kernel.org>, dmitry.baryshkov@linaro.org Subject: Re: fw_devlink breakage on SDM845 / a630 with DSI displays Date: Wed, 19 May 2021 22:42:55 +0000 [thread overview] Message-ID: <968c8e20-82ef-cc3d-c809-f38d801699c8@connolly.tech> (raw) In-Reply-To: <CAGETcx-2TySe=w1qAbtj2AJu6fNo_gaYnyP6GN150ShT1TvDfA@mail.gmail.com> Hi Saravana, On 19/05/2021 10:52 pm, Saravana Kannan wrote: > On Wed, May 19, 2021 at 8:36 AM Rob Clark <robdclark@gmail.com> wrote: >> >> + some more folks and msm list.. >> >> I suppose I didn't hit this because CONFIG_FBDEV_EMULATION is not >> normally enabled for CrOS.. but I'm not really to familiar with >> fw_devlink >> >> BR, >> -R >> >> On Wed, May 19, 2021 at 8:26 AM Caleb Connolly <caleb@connolly.tech> wrote: >>> >>> >>> Hi, >>> >>> Since -rc1 I've been hit by some DRM breakage in freedreno which happens >>> when fw_devlink=on. It seems to cause some clocks (rcg) to get stuck and >>> break DSI displays, here's a full log from the OnePlus 6: >>> https://paste.ubuntu.com/p/8kPx4nFGF5/ (that is with >>> "deferred_probe_timeout") The PocoPhone F1 also seems to be affected by >>> this. >>> >>> The display will still come up after pressing the power button a few >>> times, although it will be incredibly slow. >>> >>> It's worth noting that the issue only happens with >>> CONFIG_FBDEV_EMULATION is enabled, I've previously required this to see >>> kernel logs during boot and general boot splash with postmarketOS. >>> Without it the display will be stuck on the bootloader splash until I >>> press the power button and cause it to update once UI (like Phosh) has >>> started (though this has been the case for quite some time). >>> >>> I'd appreciate any help with debugging / resolving this issue, I'm >>> afraid I haven't been able to determine much from some brief digging. >>> > > Hi Caleb, > > Is this a device that's supported upstream? If so, can you please > point me to the DTS file that corresponds to this board? The DTS can be found in arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi (the two devices "enchilada" and "fajita" share almost all hardware in common). > > Also, can you please change all the dev_dbg to dev_info in these > functions and give me the full boot log? > device_link_add() > device_links_check_suppliers() I've uploaded a log here: https://paste.ubuntu.com/p/8ynFgRWbYW/ For reference, the same but with fw_devlink=permissive: https://paste.ubuntu.com/p/F2853CphHb/ > > Can you also tell what device are not probing with fw_devlink=on that > might be probing with fw_devlink=permissive? The devices in question are ae00000.mdss, ae94000.dsi and ae01000.mdp. > You should be able to compare /<debugfs>/devices_deferred to figure that out. devices_deferred is empty for me, however device_component contains (only) the following: oneplus6:/home/user# cat /sys/kernel/debug/device_component/ae00000.mdss master name status ------------------------------------------------------------- ae00000.mdss bound device name status ------------------------------------------------------------- ae01000.mdp bound ae94000.dsi bound 5000000.gpu bound > > Thanks, > Saravana > I tried reverting the commit Dmitry mentioned however it didn't seem to have any effect for me. (Cc'd) -- Kind Regards, Caleb
next prev parent reply other threads:[~2021-05-19 22:43 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <aff4807e-e554-2e32-5789-dfaf65128a8e@connolly.tech> 2021-05-19 15:40 ` Rob Clark 2021-05-19 21:52 ` Saravana Kannan 2021-05-19 22:42 ` Caleb Connolly [this message] 2021-05-20 0:06 ` Saravana Kannan 2021-05-20 0:17 ` Caleb Connolly 2021-06-11 22:52 ` Caleb Connolly 2021-06-16 19:49 ` Saravana Kannan 2021-05-19 22:00 ` Dmitry Baryshkov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=968c8e20-82ef-cc3d-c809-f38d801699c8@connolly.tech \ --to=caleb@connolly.tech \ --cc=amit.pundir@linaro.org \ --cc=bjorn.andersson@linaro.org \ --cc=dianders@chromium.org \ --cc=dmitry.baryshkov@linaro.org \ --cc=john.stultz@linaro.org \ --cc=linux-arm-msm@vger.kernel.org \ --cc=robdclark@gmail.com \ --cc=saravanak@google.com \ --cc=swboyd@chromium.org \ --subject='Re: fw_devlink breakage on SDM845 / a630 with DSI displays' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).