From e7e68cfd6a62a032bffd49dea06a3dfc36fcf369 Mon Sep 17 00:00:00 2001 From: Martin Andersson Date: Thu, 18 Jul 2013 17:04:33 +0200 Subject: [PATCH] drm/radeon: fix VM PTB alignment --- drivers/gpu/drm/radeon/radeon_gart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/radeon_gart.c b/drivers/gpu/drm/radeon/radeon_gart.c index d9d31a3..f6256fd 100644 --- a/drivers/gpu/drm/radeon/radeon_gart.c +++ b/drivers/gpu/drm/radeon/radeon_gart.c @@ -933,7 +933,7 @@ static int radeon_vm_update_pdes(struct radeon_device *rdev, struct radeon_ib *ib, uint64_t start, uint64_t end) { - static const uint32_t incr = RADEON_VM_PTE_COUNT * 8; + static const uint32_t incr = RADEON_VM_PTB_ALIGN(RADEON_VM_PTE_COUNT * 8); uint64_t last_pde = ~0, last_pt = ~0; unsigned count = 0; -- 1.8.3.3