* With 6.0.4 kernel, framebuffer on GPU1 is disabled, if vfio-pci driver is used for GPU2
@ 2022-11-04 14:41 Boris V.
0 siblings, 0 replies; only message in thread
From: Boris V. @ 2022-11-04 14:41 UTC (permalink / raw)
To: linux-fbdev
Hello,
not sure where is the right place to post this.
I already posted reply to patch that caused this
https://lore.kernel.org/lkml/ba4caf7a-9e1f-d5fb-f20c-dba81dc00c06@bstnet.org/
Problem is that after kernel 6.0.4 console/framebuffer on GPU 1 is
disabled, if GPU 2 is bound to vfio-pci driver.
Git bisect lead to commit af9ac541e88390d97b01d5e8c77309d2637c1d4c.
After this patch sysfb_disable() is always called. Before it was not.
Maybe it should be "if (primary) sysfb_disable();" or check if framebuffer
is used on pci_dev passed to aperture_remove_conflicting_pci_devices()
and only in this case call sysfb_disable()?
But I don't know how this things work.
Is this intended change? I see no reason to disable framebuffer/console
on GPU 1, if GPU 2 is bound to vfio-pci driver.
And this was not the case until 6.0.4 kernel. Kernel 6.0.3 still works.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-11-04 14:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-04 14:41 With 6.0.4 kernel, framebuffer on GPU1 is disabled, if vfio-pci driver is used for GPU2 Boris V.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).