summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h
diff options
context:
space:
mode:
authorYong Zhao <Yong.Zhao@amd.com>2017-07-21 01:44:10 +0300
committerAlex Deucher <alexander.deucher@amd.com>2017-08-15 21:45:44 +0300
commit330df03b3abf944f8f5180f2abc61367749984c0 (patch)
tree5ec669d4c0c2ceb1e923e5282268a3d700e1efd2 /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h
parentaef060e1147e33fc6d886f8376f1c6c6aa991073 (diff)
downloadlinux-330df03b3abf944f8f5180f2abc61367749984c0.tar.xz
drm/amdgpu: Add support for filling a buffer with 64 bit value
That function will be used later to support setting a page table block with 64 bit value. Signed-off-by: Yong Zhao <Yong.Zhao@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h
index f137c2458ee8..0e2399f32de7 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h
@@ -73,7 +73,7 @@ int amdgpu_copy_buffer(struct amdgpu_ring *ring, uint64_t src_offset,
struct dma_fence **fence, bool direct_submit,
bool vm_needs_flush);
int amdgpu_fill_buffer(struct amdgpu_bo *bo,
- uint32_t src_data,
+ uint64_t src_data,
struct reservation_object *resv,
struct dma_fence **fence);