diff options
author | Suzanne Candanedo <suzanne.candanedo@arm.com> | 2022-09-27 18:31:54 +0100 |
---|---|---|
committer | Jesse Hall <jessehall@google.com> | 2022-10-06 15:56:49 -0700 |
commit | 825d564553db3985e94a2e69e6168d596e58ec00 (patch) | |
tree | 568016089569f3ad8d740e24f8aa16b139783189 /common | |
parent | d677f99449d73ecccca9c722cda35043334bfa68 (diff) | |
download | gpu-825d564553db3985e94a2e69e6168d596e58ec00.tar.gz |
mali_kbase: MIDCET-4220 Patch for GPUSWERRATA-1360
This patch is fix for SW errata 2637762 fixing possible
out of bounds array access.
Bug: 251397485
Provenance: https://code.ipdelivery.arm.com/c/GPU/mali-ddk/+/4580
Signed-off-by: Jesse Hall <jessehall@google.com>
Change-Id: Ie8a48bbe903fe1127d298a33b9533753d0763452
Diffstat (limited to 'common')
-rw-r--r-- | common/include/uapi/gpu/arm/midgard/jm/mali_base_jm_kernel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/include/uapi/gpu/arm/midgard/jm/mali_base_jm_kernel.h b/common/include/uapi/gpu/arm/midgard/jm/mali_base_jm_kernel.h index 94f4dc7..b63575e 100644 --- a/common/include/uapi/gpu/arm/midgard/jm/mali_base_jm_kernel.h +++ b/common/include/uapi/gpu/arm/midgard/jm/mali_base_jm_kernel.h @@ -770,6 +770,9 @@ typedef __u8 base_jd_prio; */ #define BASE_JD_PRIO_REALTIME ((base_jd_prio)3) +/* Invalid atom priority (max uint8_t value) */ +#define BASE_JD_PRIO_INVALID ((base_jd_prio)255) + /* Count of the number of priority levels. This itself is not a valid * base_jd_prio setting */ |