summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2015-06-06 12:02:29 +0200
committerChristian König <christian.koenig@amd.com>2015-06-08 17:47:35 +0200
commitf653d7ff4b5f9bf45b2c8692d01bdca94322463a (patch)
tree3c1ffe407f335c2df4ad5ce3ffdae3174a9356e7
parentf38386e9a1e0b67e2b87197e3971d6b91f9f1f6a (diff)
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>
-rw-r--r--amdgpu/amdgpu_bo.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/amdgpu/amdgpu_bo.c b/amdgpu/amdgpu_bo.c
index 8e986679..ce8d2ebb 100644
--- a/amdgpu/amdgpu_bo.c
+++ b/amdgpu/amdgpu_bo.c
@@ -337,12 +337,6 @@ int amdgpu_bo_export(amdgpu_bo_handle bo,
return 0;
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);
*shared_handle = bo->handle;
return 0;