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:
c28b898
)
tests/prime_nv_api: Drop bogus check from import-twice
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Mon, 15 Jul 2013 08:59:55 +0000
(10:59 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Mon, 15 Jul 2013 08:59:55 +0000
(10:59 +0200)
It's purely accidental that importing that same bo to different
drm nouveau fds yields the same handle.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/prime_nv_api.c
patch
|
blob
|
history
diff --git
a/tests/prime_nv_api.c
b/tests/prime_nv_api.c
index
1c1ecd1
..
1785fda
100644
(file)
--- a/
tests/prime_nv_api.c
+++ b/
tests/prime_nv_api.c
@@
-96,9
+96,6
@@
static int test1(void)
close(prime_fd);
if (ret < 0)
goto out;
-
- if (nvbo->handle != nvbo2->handle)
- ret = -1;
out:
nouveau_bo_ref(NULL, &nvbo2);
nouveau_bo_ref(NULL, &nvbo);