summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorAnton Kindestam <antonki@kth.se>2018-04-21 15:16:47 +0200
committerJan Ekström <jeebjp@gmail.com>2018-05-01 20:48:02 +0300
commit02d40eee1bf931b976dffa2416a34752248f5b99 (patch)
tree52712e5c26f03420876d71088c6fb97db007512c /options
parent4c6f36611d6a177e01891286a2da69aad7c4842f (diff)
downloadmpv-02d40eee1bf931b976dffa2416a34752248f5b99.tar.bz2
mpv-02d40eee1bf931b976dffa2416a34752248f5b99.tar.xz
drm_common: Be smarter when deciding on which CRTC and Encoder to use
Inspired by kmscube, first try to pick the Encoder and CRTC already associated with the selected Connector, if any. Otherwise try to find the first matching encoder & CRTC like before. The previous behavior had problems when using atomic modesetting (crtc_setup_atomic) when we picked an Encoder & CRTC that was currently being used by the fbcon together with another Encoder. drmModeSetCrtc was able to "steal" the CRTC in this case, but using atomic modesetting we do not seem to get this behavior automatically. This should also improve behavior somewhat when run on a multi screen setup with regards to deinit and VT switching (still sometimes you end up with a blank screen where you previously had a cloned display of your fbcon)
Diffstat (limited to 'options')
0 files changed, 0 insertions, 0 deletions