amdgpu: remove flink export workaround v2

Alternative solution to Mareks patch to stop causing trouble with render nodes.

v2: rebased

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
main
Christian König 2015-06-06 12:02:29 +02:00 committed by Alex Deucher
parent 9f16c733f1
commit 804048ff65
1 changed files with 0 additions and 6 deletions

View File

@ -337,12 +337,6 @@ 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 check the return value, because exporting KMS
* handles should work with render nodes too, which don't
* support flink exports
*/
amdgpu_bo_export_flink(bo);
amdgpu_add_handle_to_table(bo); amdgpu_add_handle_to_table(bo);
*shared_handle = bo->handle; *shared_handle = bo->handle;
return 0; return 0;