drm/msm: Add param for the highest bank bit
authorConnor Abbott <cwabbott0@gmail.com>
Thu, 7 Dec 2023 21:30:48 +0000 (21:30 +0000)
committerRob Clark <robdclark@chromium.org>
Sun, 10 Dec 2023 18:19:18 +0000 (10:19 -0800)
commit44a88fa45665318473bfdbb832eba1da2d0a3740
tree0ccf5dcdb84bc570263f0922aa2b1f4c6a3cfdf6
parent8814455a0e54ca353b4b0ad5105569d3fdb945cc
drm/msm: Add param for the highest bank bit

This parameter is programmed by the kernel and influences the tiling
layout of images. Exposing it to userspace will allow it to tile/untile
images correctly without guessing what value the kernel programmed, and
allow us to change it in the future without breaking userspace.

Signed-off-by: Connor Abbott <cwabbott0@gmail.com>
Patchwork: https://patchwork.freedesktop.org/patch/571181/
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/adreno/adreno_gpu.c
include/uapi/drm/msm_drm.h