[PATCH xserver 0/4] start up with QEMU's "virtio-gpu-pci" card

Laszlo Ersek lersek at redhat.com
Sun Sep 4 01:11:38 UTC 2016


Hi,

this is my first patch set for xorg/xserver, so be gentle, please :)

  - Patch #1 is a fix for an unrelated bug that I noticed while studying
    the source code.

  - Patch #2 clarifies a high-level comment that is related to the
    problem that the series seeks to solve.

  - Patch #3 introduces a helper function.

  - Patch #4 states the problem and strives to solve it.

The series produces log messages like

  (WW) modeset(G0): promoting secondary graphics card...
  (WW) modeset(0): ... to primary.
  (WW) Use Device.BusID to select a specific secondary graphics card.

The patches can be fetched from the "promote_gpu" branch of my
xorg/xserver fork at <https://github.com/lersek/xorg-xserver.git>.

A scratch build for Aarch64 Fedora 24 guests can be downloaded from
<http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=3703649>.

Before posting this, I subscribed to the list (so that my emails
wouldn't be held until a human approves them), but I also disabled mail
delivery (because I don't plan to pick up X server development as
regular work). So please keep me addressed personally (just hit Reply
All).

Cc: Adam Jackson <ajax at redhat.com>
Cc: Dave Airlie <airlied at redhat.com>
Cc: Keith Packard <keithp at keithp.com>

Thanks!
Laszlo

Laszlo Ersek (4):
  xfree86: fix obscure bug in xf86platformProbeDev()'s retval
    computation
  xfree86: clarify xf86CallDriverProbe()'s effect on "xf86GPUScreens"
  xfree86: introduce the xf86PromoteLastGPUScreenToLastScreen() helper
  xfree86: promote one GPU screen if (NumScreens == 0 && NumGPUScreens >
    0)

 hw/xfree86/common/xf86.h            |  1 +
 hw/xfree86/common/xf86Bus.c         | 25 +++++++++++++++------
 hw/xfree86/common/xf86Helper.c      | 43 +++++++++++++++++++++++++++++++++++++
 hw/xfree86/common/xf86platformBus.c |  5 ++---
 hw/xfree86/man/xorg.conf.man        | 21 +++++++++++++-----
 5 files changed, 81 insertions(+), 14 deletions(-)

-- 
2.9.2



More information about the xorg-devel mailing list