lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMeQTsYA_9MFDLAFoPKnQYsq3sRgJjFOwYO0K_9zbwfkm9EW0g@mail.gmail.com>
Date:   Thu, 21 Apr 2022 13:10:44 +0200
From:   Patrik Jakobsson <patrik.r.jakobsson@...il.com>
To:     James Hilliard <james.hilliard1@...il.com>
Cc:     dri-devel <dri-devel@...ts.freedesktop.org>,
        Randy Dunlap <rdunlap@...radead.org>,
        David Airlie <airlied@...ux.ie>,
        Daniel Vetter <daniel@...ll.ch>,
        linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3] drm/gma500: depend on framebuffer

On Wed, Apr 20, 2022 at 1:42 AM James Hilliard
<james.hilliard1@...il.com> wrote:
>
> On Tue, Apr 12, 2022 at 3:30 AM Patrik Jakobsson
> <patrik.r.jakobsson@...il.com> wrote:
> >
> > On Tue, Apr 12, 2022 at 3:48 AM James Hilliard
> > <james.hilliard1@...il.com> wrote:
> > >
> > > On Mon, Apr 11, 2022 at 3:27 AM Patrik Jakobsson
> > > <patrik.r.jakobsson@...il.com> wrote:
> > > >
> > > > On Sun, Apr 10, 2022 at 10:05 PM James Hilliard
> > > > <james.hilliard1@...il.com> wrote:
> > > > >
> > > > > On Sun, Apr 10, 2022 at 1:52 PM Patrik Jakobsson
> > > > > <patrik.r.jakobsson@...il.com> wrote:
> > > > > >
> > > > > > On Sun, Apr 10, 2022 at 9:40 PM James Hilliard
> > > > > > <james.hilliard1@...il.com> wrote:
> > > > > > >
> > > > > > > On Sun, Apr 10, 2022 at 1:36 PM Patrik Jakobsson
> > > > > > > <patrik.r.jakobsson@...il.com> wrote:
> > > > > > > >
> > > > > > > > On Sat, Apr 9, 2022 at 6:23 AM James Hilliard <james.hilliard1@...il.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@...il.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?
>
> There is one HDMI cable physically connected to the board
>
> > Regardless of what you do in Weston, the connectors shouldn't be
> > getting modes if they aren't used.
>
> Yeah, it seems there's a bug there, not sure if that's related to the
> output failure when efifb isn't available.
>
> > 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.
>
> Log with efifb/fb not enabled in kernel build which causes no
> HDMI output:

After examining the logs I cannot see anything that stands out except
for fbdev emulation not being enabled. Are you sure you just don't
need to compile your kernel with FB support (CONFIG_FB)? If you are
running weston on the fbdev backend then you would obviously not get
any output if FB is not compiled into the kernel.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ