projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7164abe
)
amdgpu: don't call add_handle_to_table for KMS BO exports
author
Marek Olšák
<marek.olsak@amd.com>
Fri, 6 Jul 2018 20:15:31 +0000
(16:15 -0400)
committer
Marek Olšák
<marek.olsak@amd.com>
Wed, 11 Jul 2018 03:26:23 +0000
(23:26 -0400)
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
amdgpu/amdgpu_bo.c
patch
|
blob
|
history
diff --git
a/amdgpu/amdgpu_bo.c
b/amdgpu/amdgpu_bo.c
index
9e37b14
..
9e7f958
100644
(file)
--- a/
amdgpu/amdgpu_bo.c
+++ b/
amdgpu/amdgpu_bo.c
@@
-240,7
+240,7
@@
int amdgpu_bo_export(amdgpu_bo_handle bo,
return 0;
case amdgpu_bo_handle_type_kms:
- amdgpu_add_handle_to_table(bo);
+ /* Don't add the handle to the hash table. It can't be reimported. */
*shared_handle = bo->handle;
return 0;