mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-18 13:26:30 +00:00
tests/prime_nv_api: Drop bogus check from import-twice
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>
This commit is contained in:
parent
c28b898cd4
commit
1a3c7e3493
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user