Commit fe0488aa authored by Marek Olšák's avatar Marek Olšák
Browse files

amdgpu: don't call add_handle_to_table for KMS BO exports


Reviewed-by: Junwei Zhang's avatarJunwei Zhang <Jerry.Zhang@amd.com>
parent 7164abeb
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment