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>
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;