summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2015-06-06 12:02:29 +0200
committerAlex Deucher <alexander.deucher@amd.com>2015-07-30 00:11:12 -0400
commitdef7118e770f5fad5088467e6a1f3cdd9248061c (patch)
tree2adce11295a458b0c0ad76b13a54dbda0c36e80d
parent9ae384d438f85e51eab77dc10b0357af54ea887a (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 961ab04b..72688d43 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;