diff options
author | Michał Winiarski <michal.winiarski@intel.com> | 2016-01-25 19:35:01 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-01-25 19:44:31 +0100 |
commit | 52b5d5016edfac14ca99c01fc7c2800eccbe11c0 (patch) | |
tree | f866f3e2338c777c18c5e055de4ddf11538806b5 /tests/gem_softpin.c | |
parent | 0e2071411a4d4e1488a821daf522dffde2809e03 (diff) |
lib/ioctl_wrappers: Add gem_gtt_type exposing raw HAS_ALIASING_PPGTT param
No functional changes.
While I'm here, let's also rename gem_uses_aliasing_ppgtt (since it's
being used to indicate if we are using ANY kind of ppgtt) and introduce
gem_uses_full_ppgtt to drop some unnecessary code from tests that were
previously calling getparam directly instead of using ioctl wrapper.
v2: drop gem_uses_full_48b_ppgtt since it's no longer used anywhere,
s/48b/64b (Chris)
v3: rebase
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/gem_softpin.c')
-rw-r--r-- | tests/gem_softpin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_softpin.c b/tests/gem_softpin.c index 44534296..c2bf37ce 100644 --- a/tests/gem_softpin.c +++ b/tests/gem_softpin.c @@ -322,7 +322,7 @@ static void test_evict_snoop(int fd) uint64_t hole; igt_require(!gem_has_llc(fd)); - igt_require(!gem_uses_aliasing_ppgtt(fd)); + igt_require(!gem_uses_ppgtt(fd)); memset(&execbuf, 0, sizeof(execbuf)); execbuf.buffers_ptr = (uintptr_t)object; |