diff options
| author | Flora Cui <[email protected]> | 2016-07-19 16:48:22 +0800 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2016-08-08 11:33:00 -0400 |
| commit | 59b4a97742888d9d3c4daa96bd15157ebd496f81 (patch) | |
| tree | 9438e3404e0ec3f2bb5c9d6c11f1420f56a1dd59 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
| parent | 309889098c6095cf4c1247724c22c2943807da20 (diff) | |
drm/amdgpu: implement amdgpu_fill_buffer()
so that bo could be set to some pattern
Signed-off-by: Flora Cui <[email protected]>
Reviewed-by: Chunming Zhou <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 389322af8a05..9f71ff79b9c1 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -435,6 +435,11 @@ int amdgpu_copy_buffer(struct amdgpu_ring *ring, uint32_t byte_count, struct reservation_object *resv, struct fence **fence); +int amdgpu_fill_buffer(struct amdgpu_bo *bo, + uint32_t src_data, + struct reservation_object *resv, + struct fence **fence); + int amdgpu_mmap(struct file *filp, struct vm_area_struct *vma); struct amdgpu_bo_list_entry { |