diff options
author | Connor Abbott <cwabbott0@gmail.com> | 2023-12-08 00:30:48 +0300 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2023-12-10 21:19:18 +0300 |
commit | 44a88fa45665318473bfdbb832eba1da2d0a3740 (patch) | |
tree | 0ccf5dcdb84bc570263f0922aa2b1f4c6a3cfdf6 /include/uapi/drm | |
parent | 8814455a0e54ca353b4b0ad5105569d3fdb945cc (diff) | |
download | linux-44a88fa45665318473bfdbb832eba1da2d0a3740.tar.xz |
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>
Diffstat (limited to 'include/uapi/drm')
-rw-r--r-- | include/uapi/drm/msm_drm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/drm/msm_drm.h b/include/uapi/drm/msm_drm.h index 6f2a7ad04aa4..d8a6b3472760 100644 --- a/include/uapi/drm/msm_drm.h +++ b/include/uapi/drm/msm_drm.h @@ -86,6 +86,7 @@ struct drm_msm_timespec { #define MSM_PARAM_CMDLINE 0x0d /* WO: override for task cmdline */ #define MSM_PARAM_VA_START 0x0e /* RO: start of valid GPU iova range */ #define MSM_PARAM_VA_SIZE 0x0f /* RO: size of valid GPU iova range (bytes) */ +#define MSM_PARAM_HIGHEST_BANK_BIT 0x10 /* RO */ /* For backwards compat. The original support for preemption was based on * a single ring per priority level so # of priority levels equals the # |