Allow DRI page flipping when some CRTCs use separate scanout buffers

As long as the CRTC we're synchronizing to doesn't.

v2:
* Remove redundant checks from can_exchange which still prevented DRI2
  page flipping

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Michel Dänzer 2017-07-27 16:11:19 +09:00 • committed by Michel Dänzer
commit 5309bde0c4
5 changed files with 16 additions and 34 deletions

View file

@ -285,7 +285,7 @@ Set the default value of the per-output 'TearFree' property, which controls
tearing prevention using the hardware page flipping mechanism. TearFree is
on for any CRTC associated with one or more outputs with TearFree on. Two
separate scanout buffers need to be allocated for each CRTC with TearFree
on. While TearFree is on for any CRTC, it currently prevents clients from using
on. While TearFree is on for any CRTC, it may prevent clients from using
DRI page flipping. If this option is set, the default value of the property
is 'on' or 'off' accordingly. If this option isn't set, the default value of the
property is