[xserver PULL master] randr fixes + primary GPU fallback

Hans de Goede hdegoede at redhat.com
Mon Dec 5 10:39:09 UTC 2016


Hi Adam, Keith,

Here is a pull-req consisting of 2 different patch-sets:

1) 2 randr fixes for sometimes the screen pixmap being
too small when using slave outputs, these have been
Reviewed-by Dave Airlie

2) 3 xfree86 patches which together make the xserver
choice the first available device, rather then exiting
with a "No screens" error, when output devices are found,
but non is recognized as being the primary / boot display
adapter. This is necessary at least for the simpledrm
kms driver, which due to its nature does not get recognized
as being the boot display. These 3 patches are *unreviewed*,
but have been part of the Fedora xserver pkg since F25 beta
and have shown no issues, as such I believe these are ready
for merging.

The following changes since commit e1d30075c923f96a375895d74ea12a3c92a640c6:

   configure: Enable glamor when building just Xwayland (2016-11-30 09:47:43 +0100)

are available in the git repository at:

   git://people.freedesktop.org/~jwrdegoede/xserver for-master

for you to fetch changes up to 55a4ce24fd778627bd1ca65f4735c4568a2332cd:

   xfree86: Try harder to find atleast 1 non GPU Screen (2016-12-05 11:21:49 +0100)

----------------------------------------------------------------
Hans de Goede (5):
       randr: rrCheckPixmapBounding: Do not substract crtc non 0 x,y from screen size
       randr: rrCheckPixmapBounding: do not shrink the screen_pixmap
       xfree86: Remove redundant ServerIsNotSeat0 check from xf86CallDriverProbe
       xfree86: Make adding unclaimed devices as GPU devices a separate step
       xfree86: Try harder to find atleast 1 non GPU Screen

  hw/xfree86/common/xf86.h            |  1 +
  hw/xfree86/common/xf86Bus.c         | 32 +++++++++++++++++++++++++++-----
  hw/xfree86/common/xf86Globals.c     |  1 +
  hw/xfree86/common/xf86pciBus.c      |  4 ++++
  hw/xfree86/common/xf86platformBus.c | 19 +++++++++++++++++++
  hw/xfree86/common/xf86platformBus.h |  6 ++++++
  randr/rrcrtc.c                      | 10 ++++++++--
  7 files changed, 66 insertions(+), 7 deletions(-)

Regards,

Hans


p.s.

Talking about unreviewed patched it would be really good to get
a review of / some discussion on:

https://patchwork.freedesktop.org/patch/112579/

Which is the last magic sauce in the Fedora xserver pkgs and
is really important for a smooth ootb experience on laptops
with hybrid gfx.


More information about the xorg-devel mailing list