[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c9f33bc8-85be-5234-5bc8-7f50abc2dadd@gmail.com>
Date: Fri, 8 Sep 2023 08:59:35 +0200
From: Christian König <ckoenig.leichtzumerken@...il.com>
To: suijingfeng <suijingfeng@...ngson.cn>,
Christian König <christian.koenig@....com>,
Sui Jingfeng <sui.jingfeng@...ux.dev>,
Thomas Zimmermann <tzimmermann@...e.de>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Jani Nikula <jani.nikula@...ux.intel.com>,
Daniel Vetter <daniel@...ll.ch>,
"Deucher, Alexander" <Alexander.Deucher@....com>
Cc: nouveau@...ts.freedesktop.org, intel-gfx@...ts.freedesktop.org,
linux-kernel@...r.kernel.org, amd-gfx@...ts.freedesktop.org,
dri-devel@...ts.freedesktop.org, linux-pci@...r.kernel.org
Subject: Re: [Nouveau] [RFC, drm-misc-next v4 0/9] PCI/VGA: Allowing the user
to select the primary video adapter at boot time
Am 07.09.23 um 18:33 schrieb suijingfeng:
> Hi,
>
>
> On 2023/9/7 17:08, Christian König wrote:
>
>
>> I strongly suggest that you just completely drop this here
>
>
> Drop this is OK, no problem. Then I will go to develop something else.
> This version is not intended to merge originally, as it's a RFC.
> Also, the core mechanism already finished, it is the first patch in
> this series.
> Things left are just policy (how to specify one and parse the kernel
> CMD line) and nothing interesting left.
> It is actually to fulfill my promise at V3 which is to give some
> examples as usage cases.
>
>
>> and go into the AST driver and try to fix it.
>
> Well, someone tell me that this is well defined behavior yesterday,
> which imply that it is not a bug. I'm not going to fix a non-bug.
Sorry for that, I wasn't realizing what you are actually trying to do.
> But if thomas ask me to fix it, then I probably have to try to fix.
> But I suggest if things not broken, don't fix it. Otherwise this may
> incur more big trouble. For server's single display use case, it is
> good enough.
Yeah, exactly that's the reason why you shouldn't mess with this.
In theory you could try to re-program the necessary north bridge blocks
to make integrated graphics work even if you installed a dedicated VGA
adapter, but you will most likely be missing something.
The only real fix is to tell the BIOS that you want to use the
integrated VGA device even if a dedicated one is detected.
If you want to learn more about the background AMD has a bunch of
documentation around this on their website:
https://www.amd.com/en/search/documentation/hub.html
The most interesting document for you is probably the BIOS programming
manual, but don't ask me what exactly the title of that one. @Alex do
you remember what that was called?
IIRC Intel had similar documentations public, but I don't know where to
find those of hand.
Regards,
Christian.
>
>
> Thanks.
>
Powered by blists - more mailing lists