xserver/hw
Mario Kleiner 4b75e65766 modesetting: Consider RandR primary output for selectioh of sync crtc.
The "sync crtc" is the crtc used to drive the display timing of a
drawable under DRI2 and DRI3/Present. If a drawable intersects
multiple video outputs, then normally the crtc is chosen which has
the largest intersection area with the drawable.

If multiple outputs / crtc's have exacty the same intersection
area then the crtc chosen was simply the first one with maximum
intersection. Iow. the choice was random, depending on plugging
order of displays.

This adds the ability to choose a preferred output in such a tie
situation. The RandR output marked as "primary output" is chosen
on such a tie.

This new behaviour and its implementation is consistent with other
video ddx drivers. See amdgpu-ddx, ati-ddx and nouveau-ddx for
reference. This commit is a straightforward port from amdgpu-ddx.

Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
2021-10-08 09:24:00 +00:00
..
kdrive glamor: Require EGL_KHR_no_config_context 2021-09-15 19:14:23 +00:00
vfb mi: List extensions in usage message 2021-01-29 12:52:09 +00:00
xfree86 modesetting: Consider RandR primary output for selectioh of sync crtc. 2021-10-08 09:24:00 +00:00
xnest mi: List extensions in usage message 2021-01-29 12:52:09 +00:00
xquartz French text in Preferences Pane Review 2021-04-07 16:19:24 -07:00
xwayland xwayland: Set GLVND driver based on GBM backend name 2021-10-06 07:21:30 +00:00
xwin mi: List extensions in usage message 2021-01-29 12:52:09 +00:00
Makefile.am Drop DMX DDX 2021-09-07 09:34:31 +00:00
meson.build Drop DMX DDX 2021-09-07 09:34:31 +00:00