summaryrefslogtreecommitdiff
path: root/src/drmmode_display.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2016-09-02 11:08:28 +0900
committerMichel Dänzer <michel@daenzer.net>2016-09-06 17:18:27 +0900
commit38797a33117222dadbc89e5f21ed8cd5deef9bea (patch)
tree60e16cff6eb1307249ba0b1273a8a801e767b5eb /src/drmmode_display.h
parenteda1f3df6aaed683036369fe8820da4dac3c2ae2 (diff)
Make TearFree effective with PRIME slave scanout
TearFree can now prevent tearing with any possible display configuration. Note that there may still be inter-GPU tearing if the primary GPU uses a different driver. v2: * Also test dirty->slave_dst in radeon_prime_scanout_do_update Reviewed-by: Alex Deucher <alexander.deucher@amd.com> [v1]
Diffstat (limited to 'src/drmmode_display.h')
-rw-r--r--src/drmmode_display.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drmmode_display.h b/src/drmmode_display.h
index 5df9773d..7602eb82 100644
--- a/src/drmmode_display.h
+++ b/src/drmmode_display.h
@@ -84,6 +84,7 @@ typedef struct {
struct radeon_bo *cursor_bo;
struct drmmode_scanout rotate;
struct drmmode_scanout scanout[2];
+ struct drmmode_scanout scanout_destroy[2];
DamagePtr scanout_damage;
RegionRec scanout_last_region;
unsigned scanout_id;