make fbdev/fbcon switchable per driver?

Gerd Hoffmann kraxel at redhat.com
Fri Jan 27 10:00:38 UTC 2017


  Hi folks,

Problem at hand:  A virtual machine, equipped with two display devices,
one virtual, one physical (using pci pass-through, or kvmgt-based vgpu).

There is no easy way for the user to configure which of the two display
devices fbcon should run on.  i915 happens to win over bochs-drm or qxl,
so you can't use the emulated gfx device as text console.

One way out would be to add a module option to each driver, to turn off
fbdev emulation.  Attached patch does that for i915.

Comments?  Better ideas?

cheers,
  Gerd

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-drm-i915-add-fbdev-option.patch
Type: text/x-patch
Size: 1363 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170127/fdecd621/attachment.bin>


More information about the dri-devel mailing list