All of lore.kernel.org
 help / color / mirror / Atom feed
From: Maxime Ripard <maxime@cerno.tech>
To: Peter Robinson <pbrobinson@gmail.com>
Cc: stefan.wahren@i2se.com, Peter Mattern <pmattern@arcor.de>,
	dri-devel@lists.freedesktop.org
Subject: Re: drm/vc4: module dysfunctional on Raspberry Pi 3B as of 5.18.0
Date: Thu, 9 Jun 2022 11:23:51 +0200	[thread overview]
Message-ID: <20220609092351.t2muybqjnqaqzemz@houat> (raw)
In-Reply-To: <20220608153608.ntgyokt67f3m7pn6@houat>

[-- Attachment #1: Type: text/plain, Size: 2029 bytes --]

On Wed, Jun 08, 2022 at 05:36:08PM +0200, Maxime Ripard wrote:
> On Wed, Jun 08, 2022 at 04:14:22PM +0100, Peter Robinson wrote:
> > > > > As of Linux 5.18.0, module vc4 apparently isn't working on Raspberry Pi
> > > > > 3B any more.
> > > > >
> > > > > If a monitor is attached to the device, the boot messages show up as
> > > > > usual, but right when KMS starts, the screen turns black. Similarly, the
> > > > > screen also turns black when the module is blacklisted at boot time and
> > > > > loaded from the running system.
> > > > > The problem looks quite similar to the one posted some months ago in [1].
> > >
> > > If I understand you properly, it results in a blank screen if the
> > > monitor is connected, but the system is still responsive?
> > 
> > Yes, it boots fine, I see all serial console output and the module
> > loads etc, without a screen I didn't notice the issue
> > 
> > > If so, it's a very different problem than the link you provided, since
> > > it was occurring when no monitor was connected and resulted in a total
> > > system hang.
> > >
> > > > > Unfortunately, looking through systemd's journal didn't seem to yield
> > > > > any real hint. Nevertheless, the results from grepping vc4 are
> > > >
> > > > I'm seeing the same issue with vc4 on a RPi3 on 5.18.1 on Fedora so
> > > > can confirm the regression. Maxime would know what might be up here?
> > >
> > > I tested on 5.18 on my 3B and it works well. Could you paste your kernel
> > > configuration and config.txt somewhere?
> > 
> > It boots with output on 5.17.13, and not on 5.18.
> 
> Interestingly, it works for 5.18 in my case but doesn't for the current
> drm-misc-next branch with similar symptoms.
> 
> I'll look into that one and see if the two might be related.

Actually, it was because drm-misc-next was missing 88110a9f6209, and
thus the DRM driver wouldn't load.

Once that patch is applied, 5.18 and all -rc work fine on my side.

Could you start a bisection maybe?

Maxime

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2022-06-09  9:23 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-05 18:01 drm/vc4: module dysfunctional on Raspberry Pi 3B as of 5.18.0 Peter Mattern
2022-06-08 13:10 ` Peter Robinson
2022-06-08 14:36   ` Maxime Ripard
2022-06-08 15:14     ` Peter Robinson
2022-06-08 15:36       ` Maxime Ripard
2022-06-09  9:23         ` Maxime Ripard [this message]
2022-06-09 11:49           ` Peter Robinson
2022-06-09 13:37           ` Peter Mattern
2022-06-08 22:47     ` Stefan Wahren
2022-06-09 11:52       ` Peter Robinson
2022-06-09 21:33         ` Stefan Wahren
2022-06-10 20:06           ` Stefan Wahren
2022-06-10 22:02           ` Peter Robinson
2022-06-09 13:08     ` Peter Mattern
2022-06-05 23:57 Stefan Wahren
2022-06-09 12:49 Peter Mattern

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=20220609092351.t2muybqjnqaqzemz@houat \
    --to=maxime@cerno.tech \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=pbrobinson@gmail.com \
    --cc=pmattern@arcor.de \
    --cc=stefan.wahren@i2se.com \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.