aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authormonk.liu <[email protected]>2015-05-26 07:01:54 +0000
committerAlex Deucher <[email protected]>2015-06-04 01:03:54 +0000
commitcfe2c9780756b63af695078c110b755876b09dfc (patch)
treedfddee7a85eddfd3ec9d3aafe54821c31ecdc424 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentdrm/amdgpu: max_pde_used usage should be under protect (diff)
downloadkernel-cfe2c9780756b63af695078c110b755876b09dfc.tar.gz
kernel-cfe2c9780756b63af695078c110b755876b09dfc.zip
drm/amdgpu: sync fence of clear_invalids (v2)
bo_va may un-initialized, fix it. Signed-off-by: monk.liu <[email protected]> Reviewed-by: Christian König <[email protected]> Reviewed-by: Jammy Zhou <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 8eb5c5529304..6c8c24ba463d 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -2268,7 +2268,7 @@ int amdgpu_vm_update_page_directory(struct amdgpu_device *adev,
int amdgpu_vm_clear_freed(struct amdgpu_device *adev,
struct amdgpu_vm *vm);
int amdgpu_vm_clear_invalids(struct amdgpu_device *adev,
- struct amdgpu_vm *vm);
+ struct amdgpu_vm *vm, struct amdgpu_sync *sync);
int amdgpu_vm_bo_update(struct amdgpu_device *adev,
struct amdgpu_bo_va *bo_va,
struct ttm_mem_reg *mem);