]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/gpu: Allocate the correct size for the GPU memptrs
authorJordan Crouse <jcrouse@codeaurora.org>
Fri, 2 Nov 2018 15:25:18 +0000 (09:25 -0600)
committerRob Clark <robdclark@gmail.com>
Tue, 11 Dec 2018 18:05:27 +0000 (13:05 -0500)
commit7210677ce4f0847ab9a83bc7ce3d2066a445db09
tree8431272d25f84263f4cd48e20d4a374d9d6ff95e
parent0aad124256f91ed130c13dfa2d3aa751a17a3c71
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>
drivers/gpu/drm/msm/msm_gpu.c