All of lore.kernel.org
 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: Mon, 11 Apr 2022 11:27:43 +0200	[thread overview]
Message-ID: <CAMeQTsbKMxQcDsDRqHsMwqU1BnrcOLwtU7uOrB-1E0z65P79-w@mail.gmail.com> (raw)
In-Reply-To: <CADvTj4o_zyVZxaBz0+kRUF30OW3SKFMuo87r6FE9Qkfn1dVsBw@mail.gmail.com>

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.

WARNING: multiple messages have this Message-ID (diff)
From: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
To: James Hilliard <james.hilliard1@gmail.com>
Cc: David Airlie <airlied@linux.ie>,
	Randy Dunlap <rdunlap@infradead.org>,
	dri-devel <dri-devel@lists.freedesktop.org>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v3] drm/gma500: depend on framebuffer
Date: Mon, 11 Apr 2022 11:27:43 +0200	[thread overview]
Message-ID: <CAMeQTsbKMxQcDsDRqHsMwqU1BnrcOLwtU7uOrB-1E0z65P79-w@mail.gmail.com> (raw)
In-Reply-To: <CADvTj4o_zyVZxaBz0+kRUF30OW3SKFMuo87r6FE9Qkfn1dVsBw@mail.gmail.com>

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.

  reply	other threads:[~2022-04-11  9:28 UTC|newest]

Thread overview: 42+ 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:23 ` James Hilliard
2022-04-09  4:33 ` Randy Dunlap
2022-04-09  4:33   ` Randy Dunlap
2022-04-10 19:36 ` Patrik Jakobsson
2022-04-10 19:36   ` Patrik Jakobsson
2022-04-10 19:40   ` James Hilliard
2022-04-10 19:40     ` James Hilliard
2022-04-10 19:52     ` Patrik Jakobsson
2022-04-10 19:52       ` Patrik Jakobsson
2022-04-10 20:05       ` James Hilliard
2022-04-10 20:05         ` James Hilliard
2022-04-11  9:27         ` Patrik Jakobsson [this message]
2022-04-11  9:27           ` Patrik Jakobsson
2022-04-12  1:47           ` James Hilliard
2022-04-12  1:47             ` James Hilliard
2022-04-12  8:29             ` Patrik Jakobsson
2022-04-12  8:29               ` Patrik Jakobsson
2022-04-19 23:42               ` James Hilliard
2022-04-19 23:42                 ` James Hilliard
2022-04-21 11:10                 ` Patrik Jakobsson
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:39     ` Patrik Jakobsson
2022-04-21 12:47     ` Javier Martinez Canillas
2022-04-21 12:54       ` Patrik Jakobsson
2022-04-21 12:54         ` Patrik Jakobsson
2022-04-21 13:20         ` Thomas Zimmermann
2022-04-21 13:20           ` Thomas Zimmermann
2022-04-21 17:48           ` James Hilliard
2022-04-21 17:48             ` James Hilliard
2022-04-21 19:10             ` Patrik Jakobsson
2022-04-21 19:10               ` Patrik Jakobsson
2022-04-21 13:22         ` Javier Martinez Canillas
2022-04-21 13:22           ` Javier Martinez Canillas
2022-04-21 17:39           ` James Hilliard
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
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=CAMeQTsbKMxQcDsDRqHsMwqU1BnrcOLwtU7uOrB-1E0z65P79-w@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 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.