aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
diff options
context:
space:
mode:
authorChunming Zhou <David1.Zhou@amd.com>2016-09-21 16:19:19 +0800
committerAlex Deucher <alexander.deucher@amd.com>2017-03-29 23:53:38 -0400
commit6b777607c1442857e160a57d02b9951d8e7639b4 (patch)
treea8ed750b2375e3a444b7ef45d8b2fbaff45823ff /drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
parentdrm/amdgpu/ih: store the full context id (diff)
downloadlinux-dev-6b777607c1442857e160a57d02b9951d8e7639b4.tar.xz
linux-dev-6b777607c1442857e160a57d02b9951d8e7639b4.zip
drm/amdgpu: expand pte flags to uint64_t
Necessary for new asics. Signed-off-by: Chunming Zhou <David1.Zhou@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/sdma_v2_4.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c b/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
index 0b1aa9462608..1a4b351f350b 100644
--- a/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
+++ b/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
@@ -798,7 +798,7 @@ static void sdma_v2_4_vm_write_pte(struct amdgpu_ib *ib, uint64_t pe,
*/
static void sdma_v2_4_vm_set_pte_pde(struct amdgpu_ib *ib, uint64_t pe,
uint64_t addr, unsigned count,
- uint32_t incr, uint32_t flags)
+ uint32_t incr, uint64_t flags)
{
/* for physically contiguous pages (vram) */
ib->ptr[ib->length_dw++] = SDMA_PKT_HEADER_OP(SDMA_OP_GEN_PTEPDE);