projects
/
platform
/
upstream
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d078035
)
tests/gem_exec_parse: use gem_uses_aliasing_ppgtt
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Mon, 7 Jul 2014 15:54:30 +0000
(17:54 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Mon, 7 Jul 2014 15:54:30 +0000
(17:54 +0200)
Suggested by Brad Volking.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/gem_exec_parse.c
patch
|
blob
|
history
diff --git
a/tests/gem_exec_parse.c
b/tests/gem_exec_parse.c
index
f7376e3
..
5bab4db
100644
(file)
--- a/
tests/gem_exec_parse.c
+++ b/
tests/gem_exec_parse.c
@@
-198,7
+198,7
@@
int fd;
igt_main
{
igt_fixture {
- int parser_version = 0
, has_ppgtt = 0
;
+ int parser_version = 0;
drm_i915_getparam_t gp;
int rc;
@@
-209,10
+209,7
@@
igt_main
rc = drmIoctl(fd, DRM_IOCTL_I915_GETPARAM, &gp);
igt_require(!rc && parser_version > 0);
- gp.param = I915_PARAM_HAS_ALIASING_PPGTT;
- gp.value = &has_ppgtt;
- rc = drmIoctl(fd, DRM_IOCTL_I915_GETPARAM, &gp);
- igt_require(!rc && has_ppgtt > 0);
+ igt_require(gem_uses_aliasing_ppgtt(fd));
handle = gem_create(fd, 4096);