diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h index bdb01d932548..ae188a88082d 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | |||
@@ -139,6 +139,10 @@ int amdgpu_bo_create_restricted(struct amdgpu_device *adev, | |||
139 | struct ttm_placement *placement, | 139 | struct ttm_placement *placement, |
140 | struct reservation_object *resv, | 140 | struct reservation_object *resv, |
141 | struct amdgpu_bo **bo_ptr); | 141 | struct amdgpu_bo **bo_ptr); |
142 | int amdgpu_bo_create_kernel(struct amdgpu_device *adev, | ||
143 | unsigned long size, int align, | ||
144 | u32 domain, struct amdgpu_bo **bo_ptr, | ||
145 | u64 *gpu_addr, void **cpu_addr); | ||
142 | int amdgpu_bo_kmap(struct amdgpu_bo *bo, void **ptr); | 146 | int amdgpu_bo_kmap(struct amdgpu_bo *bo, void **ptr); |
143 | void amdgpu_bo_kunmap(struct amdgpu_bo *bo); | 147 | void amdgpu_bo_kunmap(struct amdgpu_bo *bo); |
144 | struct amdgpu_bo *amdgpu_bo_ref(struct amdgpu_bo *bo); | 148 | struct amdgpu_bo *amdgpu_bo_ref(struct amdgpu_bo *bo); |