[PATCH] modesetting: prefer primary crtc when picking over nothing

Michel Dänzer michel at daenzer.net
Wed Aug 3 01:09:09 UTC 2016


On 03.08.2016 09:24, Dave Airlie wrote:
> So we had a bug report that epiphany was rendering slow on
> modesetting + DRI3, that I tracked down to the fact it was
> rendering offscreen to a single buffer. However due to this
> rendering being offscreen we were getting the fake crtc
> chosen by the X server as the window didn't overlap any
> active CRTCs.
> 
> This didn't happen on amdgpu and I ported this patch across,
> but I believe this only fixed this problem by accident,
> it always picks the primary crtc when it needs one.

This can indeed only avoid the problem by accident, since there's no
guarantee that the primary output is even connected.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <https://lists.x.org/archives/xorg-devel/attachments/20160803/f3407842/attachment.sig>


More information about the xorg-devel mailing list