diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-01-08 16:32:29 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-01-19 14:03:15 +0000 |
commit | a6090c71918ae4c0a54eda133081dbd1e6fe8018 (patch) | |
tree | 61d5ec695b6d2dab6840c20fd620d0977afd6172 /lib/igt_gt.h | |
parent | 571b876544933c4c6cab16065b1ade76246a7f55 (diff) |
igt/gem_mmap_wc: Test cpu mmap vs wc mmap coherency
Similar to the cpu mmap vs gtt mmap coherency test.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/igt_gt.h')
-rw-r--r-- | lib/igt_gt.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/igt_gt.h b/lib/igt_gt.h index b70bbd15..4f8eff50 100644 --- a/lib/igt_gt.h +++ b/lib/igt_gt.h @@ -74,4 +74,7 @@ enum stop_ring_flags igt_to_stop_ring_flag(int ring); void igt_set_stop_rings(enum stop_ring_flags flags); enum stop_ring_flags igt_get_stop_rings(void); +int igt_setup_clflush(void); +void igt_clflush_range(void *addr, int size); + #endif /* IGT_GT_H */ |