mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-08 09:18:04 +02:00
amdgpu: don't call add_handle_to_table for KMS BO exports
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
This commit is contained in:
parent
7164abebec
commit
fe0488aa13
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue