]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: Fix range size vs end confusion
authorRob Clark <robdclark@chromium.org>
Thu, 7 Apr 2022 20:28:33 +0000 (13:28 -0700)
committerRob Clark <robdclark@chromium.org>
Mon, 11 Apr 2022 16:36:13 +0000 (09:36 -0700)
commit130881368fa00384cb973929c420f176a9184d45
tree18c0be968ecc557538c423e17dada863fbcf97bc
parentcf5096088d19dae2afbba8a4ffbb72c0de80ed5d
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: 82b173af897c ("drm/msm/a6xx: Add support for per-instance pagetables")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Link: https://lore.kernel.org/r/20220407202836.1211268-1-robdclark@gmail.com
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/adreno/a6xx_gpu.c