linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
To: James Hilliard <james.hilliard1@gmail.com>
Cc: dri-devel <dri-devel@lists.freedesktop.org>,
	Randy Dunlap <rdunlap@infradead.org>,
	David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v3] drm/gma500: depend on framebuffer
Date: Tue, 12 Apr 2022 10:29:55 +0200	[thread overview]
Message-ID: <CAMeQTsZyp40ybkNxnYDCR=pvXRzWvtBLkT+i4VPyjNiwwWg0-A@mail.gmail.com> (raw)
In-Reply-To: <CADvTj4rR5zt5iFTDrrYfNQ267KV896dHnjJHx6yq=e10+V_Okg@mail.gmail.com>

On Tue, Apr 12, 2022 at 3:48 AM James Hilliard
<james.hilliard1@gmail.com> wrote:
>
> On Mon, Apr 11, 2022 at 3:27 AM Patrik Jakobsson
> <patrik.r.jakobsson@gmail.com> wrote:
> >
> > On Sun, Apr 10, 2022 at 10:05 PM James Hilliard
> > <james.hilliard1@gmail.com> wrote:
> > >
> > > On Sun, Apr 10, 2022 at 1:52 PM Patrik Jakobsson
> > > <patrik.r.jakobsson@gmail.com> wrote:
> > > >
> > > > On Sun, Apr 10, 2022 at 9:40 PM James Hilliard
> > > > <james.hilliard1@gmail.com> wrote:
> > > > >
> > > > > On Sun, Apr 10, 2022 at 1:36 PM Patrik Jakobsson
> > > > > <patrik.r.jakobsson@gmail.com> wrote:
> > > > > >
> > > > > > On Sat, Apr 9, 2022 at 6:23 AM James Hilliard <james.hilliard1@gmail.com> wrote:
> > > > > > >
> > > > > > > Select the efi framebuffer if efi is enabled.
> > > > > > >
> > > > > > > This appears to be needed for video output to function correctly.
> > > > > > >
> > > > > > > Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> > > > > >
> > > > > > Hi James,
> > > > > > EFI_FB is its own driver and not needed by gma500 to drive its
> > > > > > hardware. What makes you think it's required?
> > > > >
> > > > > I wasn't getting any HDMI video output without it enabled for some reason,
> > > > > I assume it is doing some sort of initialization needed by gma500
> > > > > during startup.
> > > >
> > > > Then it sounds like you might just be using EFI_FB and not gma500. Can
> > > > you provide the kernel log with drm.debug=0x1f set on kernel
> > > > command-line.
> > >
> > > Seems efifb loads first and then hands off to gma500
> >
> > That is how it normally works but efifb shouldn't change the state of
> > the currently set mode so shouldn't affect gma500.
> > From the logs I can see that you have LVDS (internal panel), HDMI and
> > DP (3 displays in total) connected. This sounds wrong. Your version of
> > gma500 (Cedarview) doesn't support more than 2 crtcs/pipes. This might
> > be a problem.
>
> Yeah, there's a bug there with the connector status, only DVI-D-1 is actually
> connected, I have DP-2 and LVDS-1 turned off in weston.

Ok, but are the connectors physically connected to anything?
Regardless of what you do in Weston, the connectors shouldn't be
getting modes if they aren't used. LVDS might be from VBIOS but I'm
not sure where the DP modes come from. It would help if you also
provide kernel logs with drm.debug=0x1f when the outputs doesn't work
so I have something to compare with.

  reply	other threads:[~2022-04-12  9:38 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-09  4:23 [PATCH v3] drm/gma500: depend on framebuffer James Hilliard
2022-04-09  4:33 ` Randy Dunlap
2022-04-10 19:36 ` Patrik Jakobsson
2022-04-10 19:40   ` James Hilliard
2022-04-10 19:52     ` Patrik Jakobsson
2022-04-10 20:05       ` James Hilliard
2022-04-11  9:27         ` Patrik Jakobsson
2022-04-12  1:47           ` James Hilliard
2022-04-12  8:29             ` Patrik Jakobsson [this message]
2022-04-19 23:42               ` James Hilliard
2022-04-21 11:10                 ` Patrik Jakobsson
2022-04-21 11:49 ` Thomas Zimmermann
2022-04-21 12:39   ` Patrik Jakobsson
2022-04-21 12:47     ` Javier Martinez Canillas
2022-04-21 12:54       ` Patrik Jakobsson
2022-04-21 13:20         ` Thomas Zimmermann
2022-04-21 17:48           ` James Hilliard
2022-04-21 19:10             ` Patrik Jakobsson
2022-04-21 13:22         ` Javier Martinez Canillas
2022-04-21 17:39           ` James Hilliard
2022-04-21 18:22             ` Thomas Zimmermann
2022-04-21 18:23               ` Thomas Zimmermann
2022-04-21 18:24                 ` James Hilliard

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='CAMeQTsZyp40ybkNxnYDCR=pvXRzWvtBLkT+i4VPyjNiwwWg0-A@mail.gmail.com' \
    --to=patrik.r.jakobsson@gmail.com \
    --cc=airlied@linux.ie \
    --cc=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=james.hilliard1@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rdunlap@infradead.org \
    /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 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).