Skip to content

Commit 537fef8

Browse files
committed
drm/msm: Fix range size vs end confusion
The fourth param is size, rather than range_end. Note that we could increase the address space size if we had a way to prevent buffers from spanning a 4G split, mostly just to avoid fw bugs with 64b math. Fixes: 84c31ee ("drm/msm/a6xx: Add support for per-instance pagetables") Signed-off-by: Rob Clark <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Clark <[email protected]>
1 parent 0fe35b8 commit 537fef8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/msm/adreno/a6xx_gpu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1742,7 +1742,7 @@ a6xx_create_private_address_space(struct msm_gpu *gpu)
17421742
return ERR_CAST(mmu);
17431743

17441744
return msm_gem_address_space_create(mmu,
1745-
"gpu", 0x100000000ULL, 0x1ffffffffULL);
1745+
"gpu", 0x100000000ULL, SZ_4G);
17461746
}
17471747

17481748
static uint32_t a6xx_get_rptr(struct msm_gpu *gpu, struct msm_ringbuffer *ring)

0 commit comments

Comments
 (0)