summaryrefslogtreecommitdiff
path: root/lib/igt_fb.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-03-02 14:12:12 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2016-03-02 14:14:11 +0000
commit18d0b1efb8759000d7ccb82334ea823b9857dfc9 (patch)
treebec80f929de014ebb4f8c4af1071d4e67e7df6d2 /lib/igt_fb.h
parent5533f22c354af2efd137a2f711d2e1ec86d70cb2 (diff)
lib/igt_fb: Fix domain tracking for GTT cairo surfaces
If we create a cairo surface using a GTT mmaping, then we need to use the GTT access domain. cairo surfaces created with a blit temporary (for unfenced surfaces) still use the CPU domain. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/igt_fb.h')
-rw-r--r--lib/igt_fb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/igt_fb.h b/lib/igt_fb.h
index 4e6a7694..6cfd1bbd 100644
--- a/lib/igt_fb.h
+++ b/lib/igt_fb.h
@@ -54,6 +54,7 @@ struct igt_fb {
uint64_t tiling;
unsigned size;
cairo_surface_t *cairo_surface;
+ unsigned domain;
uint32_t src_x;
uint32_t src_y;
uint32_t src_w;