]> Git Repo - linux.git/blobdiff - drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
Merge tag 'drm-misc-next-2018-11-07' of git://anongit.freedesktop.org/drm/drm-misc...
[linux.git] / drivers / gpu / drm / amd / amdgpu / amdgpu_object.c
index 904014dc5915f8142dd0dc6c169a76bacbaf7e9f..cf768acb51dce3f43efc48779d29ecdeda971846 100644 (file)
@@ -640,7 +640,7 @@ int amdgpu_bo_backup_to_shadow(struct amdgpu_device *adev,
        bo_addr = amdgpu_bo_gpu_offset(bo);
        shadow_addr = amdgpu_bo_gpu_offset(bo->shadow);
 
-       r = reservation_object_reserve_shared(bo->tbo.resv);
+       r = reservation_object_reserve_shared(bo->tbo.resv, 1);
        if (r)
                goto err;
 
This page took 0.035095 seconds and 4 git commands to generate.