Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/msm/gpu: Allocate the correct size for the GPU memptrs

Allocate the correct buffer size for the GPU memptrs. The incorrect
size hasn't affected us thus far since the incorrect size was larger
than the intended size and we're still stuck on page sized
granularity anyway but technically correct is the best kind of
correct.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>

authored by

Jordan Crouse and committed by
Rob Clark
546ec7b4 ccdf7e28

+2 -1
+2 -1
drivers/gpu/drm/msm/msm_gpu.c
··· 917 917 goto fail; 918 918 } 919 919 920 - memptrs = msm_gem_kernel_new(drm, sizeof(*gpu->memptrs_bo), 920 + memptrs = msm_gem_kernel_new(drm, 921 + sizeof(struct msm_rbmemptrs) * nr_rings, 921 922 MSM_BO_UNCACHED, gpu->aspace, &gpu->memptrs_bo, 922 923 &memptrs_iova); 923 924