Skip to content

Commit 8bd18b4

Browse files
robclarkgregkh
authored andcommitted
drm/msm: Fix range size vs end confusion
[ Upstream commit 537fef8 ] 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]> Signed-off-by: Sasha Levin <[email protected]>
1 parent 321e9a2 commit 8bd18b4

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
@@ -1714,7 +1714,7 @@ a6xx_create_private_address_space(struct msm_gpu *gpu)
17141714
return ERR_CAST(mmu);
17151715

17161716
return msm_gem_address_space_create(mmu,
1717-
"gpu", 0x100000000ULL, 0x1ffffffffULL);
1717+
"gpu", 0x100000000ULL, SZ_4G);
17181718
}
17191719

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

0 commit comments

Comments
 (0)