diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2015-04-10 09:48:46 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2015-04-10 10:07:26 +0100 |
commit | 007ff02cbcf008628476948cad8e9ea08c6f5f26 (patch) | |
tree | 3220427e59abdc5c812c249a6d18ea68f24e1aa4 /tests/prime_self_import.c | |
parent | d36465d5205c5510ca4078346e47e8f3afc432e2 (diff) |
igt/gem_mmap_wc: Explicitly check for use-after-close
We already rely on the mmap(object) surviving close(), but make the test
explicit and early.
Secondly, we don't technically need to call set_domain after writing
through the CPU then reading through WC, since the CPU cache is
consistent for those two paths. Test it.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/prime_self_import.c')
0 files changed, 0 insertions, 0 deletions