NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: GOP and using monitor



On Sun, 3 Oct 2021, Riza Dindir wrote:

On Sun, Oct 3, 2021 at 3:46 PM RVP <rvp%sdf.org@localhost> wrote:

Or, see if this works. In the GENERIC config:

# genfb*          at pci? dev ? function ?
genfb0          at pci1 dev 0 function 0
genfb1          at pci0 dev 1 function 0

Are you saying that gop will always use genfb0,


On NetBSD, at present, only genfb0 will be used and it will mirror
output on all displays connected to the underlying graphics card.
The other framebuffers (genfb1, ...) on any other cards won't be
active.

GOP is just a command to make the EFI firmware switch resolutions.
It's needed because genfb doesn't switch resolutions on its own--it
just uses whatever modes have been setup for it. The DRM framebuffers
(intelfb*, radeondrmkmsfb*, nouveaufb*, ...) OTOH do pick the highest
resolution possible on a card.

and that connecting genfb0, in the kernel, to the other radeon
device/output (on pci1, dev 0 fn 0) would make the monitor show
all the output, disabling the laptop LCD?


That is what we're trying to achieve, yes.

-RVP


Home | Main Index | Thread Index | Old Index