All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Emil Velikov <emil.l.velikov@gmail.com>,
	Michael Ellerman <mpe@ellerman.id.au>
Cc: linux-fbdev <linux-fbdev@vger.kernel.org>,
	Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>,
	ML dri-devel <dri-devel@lists.freedesktop.org>,
	Paul Mackerras <paulus@samba.org>,
	linuxppc-dev <linuxppc-dev@lists.ozlabs.org>
Subject: Re: [PATCH v2 2/2] powerpc/configs: replace deprecated riva/nvidia with nouveau
Date: Mon, 18 May 2020 12:46:54 +0000	[thread overview]
Message-ID: <9ea9bd468fbce85b666991cde4196b88c7929e1d.camel@kernel.crashing.org> (raw)
In-Reply-To: <CACvgo53uWVmhwon4+Fn5=_4HPXSciqNrf1MSJjt1kA3G2wyECw@mail.gmail.com>

On Mon, 2020-05-18 at 12:19 +0100, Emil Velikov wrote:
> 
>  - attempted out-of-bound attempts to read the vbios

So on these things, the actual ROM doesn't contain what you want, but
the device-tree has a property "NVDA,BMP" that contains some kind of
mini-BIOS (around 2.4KB) which should contain the necessary tables the
driver is looking for.

I think nouveau has code to find these in nvkm/subdev/bios/shadowof.c,
so at least that should have been working, but maybe some
debugging/instrumentation would be useful there.

> Genuine concern or noise? Likely using the bios from open firmware,
> check any of the other options - see NvBios in [1]
>  - cannot figure out the timer input frequency
> No idea
>  - the TV1 EDID is empty
> Is there an actual TV connected to the device, check with another cable

Probaby not.

> Regardless of the patches, reporting [2] the above would be a nice move.
> 
> Thanks
> Emil
> [1] https://nouveau.freedesktop.org/wiki/KernelModuleParameters/
> [2] https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/issues

WARNING: multiple messages have this Message-ID (diff)
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Emil Velikov <emil.l.velikov@gmail.com>,
	Michael Ellerman <mpe@ellerman.id.au>
Cc: linux-fbdev <linux-fbdev@vger.kernel.org>,
	Antonino Daplas <adaplas@gmail.com>,
	Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>,
	ML dri-devel <dri-devel@lists.freedesktop.org>,
	Paul Mackerras <paulus@samba.org>,
	linuxppc-dev <linuxppc-dev@lists.ozlabs.org>
Subject: Re: [PATCH v2 2/2] powerpc/configs: replace deprecated riva/nvidia with nouveau
Date: Mon, 18 May 2020 22:46:54 +1000	[thread overview]
Message-ID: <9ea9bd468fbce85b666991cde4196b88c7929e1d.camel@kernel.crashing.org> (raw)
In-Reply-To: <CACvgo53uWVmhwon4+Fn5=_4HPXSciqNrf1MSJjt1kA3G2wyECw@mail.gmail.com>

On Mon, 2020-05-18 at 12:19 +0100, Emil Velikov wrote:
> 
>  - attempted out-of-bound attempts to read the vbios

So on these things, the actual ROM doesn't contain what you want, but
the device-tree has a property "NVDA,BMP" that contains some kind of
mini-BIOS (around 2.4KB) which should contain the necessary tables the
driver is looking for.

I think nouveau has code to find these in nvkm/subdev/bios/shadowof.c,
so at least that should have been working, but maybe some
debugging/instrumentation would be useful there.

> Genuine concern or noise? Likely using the bios from open firmware,
> check any of the other options - see NvBios in [1]
>  - cannot figure out the timer input frequency
> No idea
>  - the TV1 EDID is empty
> Is there an actual TV connected to the device, check with another cable

Probaby not.

> Regardless of the patches, reporting [2] the above would be a nice move.
> 
> Thanks
> Emil
> [1] https://nouveau.freedesktop.org/wiki/KernelModuleParameters/
> [2] https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/issues


WARNING: multiple messages have this Message-ID (diff)
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Emil Velikov <emil.l.velikov@gmail.com>,
	Michael Ellerman <mpe@ellerman.id.au>
Cc: linux-fbdev <linux-fbdev@vger.kernel.org>,
	Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>,
	ML dri-devel <dri-devel@lists.freedesktop.org>,
	Paul Mackerras <paulus@samba.org>,
	linuxppc-dev <linuxppc-dev@lists.ozlabs.org>
Subject: Re: [PATCH v2 2/2] powerpc/configs: replace deprecated riva/nvidia with nouveau
Date: Mon, 18 May 2020 22:46:54 +1000	[thread overview]
Message-ID: <9ea9bd468fbce85b666991cde4196b88c7929e1d.camel@kernel.crashing.org> (raw)
In-Reply-To: <CACvgo53uWVmhwon4+Fn5=_4HPXSciqNrf1MSJjt1kA3G2wyECw@mail.gmail.com>

On Mon, 2020-05-18 at 12:19 +0100, Emil Velikov wrote:
> 
>  - attempted out-of-bound attempts to read the vbios

So on these things, the actual ROM doesn't contain what you want, but
the device-tree has a property "NVDA,BMP" that contains some kind of
mini-BIOS (around 2.4KB) which should contain the necessary tables the
driver is looking for.

I think nouveau has code to find these in nvkm/subdev/bios/shadowof.c,
so at least that should have been working, but maybe some
debugging/instrumentation would be useful there.

> Genuine concern or noise? Likely using the bios from open firmware,
> check any of the other options - see NvBios in [1]
>  - cannot figure out the timer input frequency
> No idea
>  - the TV1 EDID is empty
> Is there an actual TV connected to the device, check with another cable

Probaby not.

> Regardless of the patches, reporting [2] the above would be a nice move.
> 
> Thanks
> Emil
> [1] https://nouveau.freedesktop.org/wiki/KernelModuleParameters/
> [2] https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/issues

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2020-05-18 12:46 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-17 22:05 [PATCH v2 1/2] fbdev: annotate rivafb/nvidiafb as obsolete Emil Velikov
2020-05-17 22:05 ` Emil Velikov
2020-05-17 22:05 ` [PATCH v2 2/2] powerpc/configs: replace deprecated riva/nvidia with nouveau Emil Velikov
2020-05-17 22:05   ` Emil Velikov
2020-05-17 22:05   ` Emil Velikov
2020-05-18  0:44   ` Benjamin Herrenschmidt
2020-05-18  0:44     ` Benjamin Herrenschmidt
2020-05-18  0:44     ` Benjamin Herrenschmidt
2020-05-18 11:00     ` Emil Velikov
2020-05-18 11:00       ` Emil Velikov
2020-05-18 11:00       ` Emil Velikov
2020-05-18 12:39       ` Benjamin Herrenschmidt
2020-05-18 12:39         ` Benjamin Herrenschmidt
2020-05-18 12:39         ` Benjamin Herrenschmidt
2020-05-18  7:30   ` Michael Ellerman
2020-05-18  7:30     ` Michael Ellerman
2020-05-18  7:30     ` Michael Ellerman
2020-05-18 11:19     ` Emil Velikov
2020-05-18 11:19       ` Emil Velikov
2020-05-18 11:19       ` Emil Velikov
2020-05-18 12:46       ` Benjamin Herrenschmidt [this message]
2020-05-18 12:46         ` Benjamin Herrenschmidt
2020-05-18 12:46         ` Benjamin Herrenschmidt
2020-05-18 12:48       ` Bartlomiej Zolnierkiewicz
2020-05-18 12:48         ` Bartlomiej Zolnierkiewicz
2020-05-18 12:48         ` Bartlomiej Zolnierkiewicz
2020-05-18 13:19         ` Emil Velikov
2020-05-18 13:19           ` Emil Velikov
2020-05-18 13:19           ` Emil Velikov
2020-05-18 13:48     ` Andreas Schwab
2020-05-18 13:48       ` Andreas Schwab
2020-05-18 13:48       ` Andreas Schwab
     [not found]       ` <87v9ktpd4v.fsf-hBGjKatGTSWzQB+pC5nmwQ@public.gmane.org>
2020-05-18 14:38         ` Ilia Mirkin
     [not found]           ` <CAKb7UvgBhvE-dEfva+n5SUTJ4CZT2KKkno=SVb9Jx5KBbZWR+A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-05-18 15:48             ` Andreas Schwab
2020-05-17 23:11 ` [PATCH v2 1/2] fbdev: annotate rivafb/nvidiafb as obsolete kbuild test robot
2020-05-17 23:11   ` kbuild test robot
2020-05-17 23:11 ` kbuild test robot
2020-05-17 23:11   ` kbuild test robot

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=9ea9bd468fbce85b666991cde4196b88c7929e1d.camel@kernel.crashing.org \
    --to=benh@kernel.crashing.org \
    --cc=b.zolnierkie@samsung.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=emil.l.velikov@gmail.com \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    --cc=paulus@samba.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.