mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 14:00:11 +01:00
Revert "amdgpu: don't call add_handle_to_table for KMS BO exports"
This reverts commit fe0488aa13.
It caused messages like
amdgpu 0000:23:00.0: bo 000000007dce0b3e va 0x0000101800-0x000010181f conflict with 0x0000101800-0x0000101820
in dmesg, and eventually a Xorg crash while running piglit.
Evidently, such BOs can actually be re-imported by other means than via
a KMS handle.
This commit is contained in:
parent
fe0488aa13
commit
7e4501027c
1 changed files with 1 additions and 1 deletions
|
|
@ -240,7 +240,7 @@ int amdgpu_bo_export(amdgpu_bo_handle bo,
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
case amdgpu_bo_handle_type_kms:
|
case amdgpu_bo_handle_type_kms:
|
||||||
/* Don't add the handle to the hash table. It can't be reimported. */
|
amdgpu_add_handle_to_table(bo);
|
||||||
*shared_handle = bo->handle;
|
*shared_handle = bo->handle;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue