]> 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)
commit4e72e64c5e8489310e14f5ecfed2349125ef5711
tree18c0be968ecc557538c423e17dada863fbcf97bc
parent3e3d58f645edd545e5251a8f748fdbfccf0427c3
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: abf5edf4ea29 ("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