From: Alyssa Rosenzweig Date: Wed, 28 Dec 2022 21:15:21 +0000 (-0500) Subject: panfrost: Remove MALI_POSITIVE macro X-Git-Tag: upstream/23.3.3~11814 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cc16e7322ff0786b5f6292f583d77171e8fd915c;p=platform%2Fupstream%2Fmesa.git panfrost: Remove MALI_POSITIVE macro Now unused. Signed-off-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/panfrost/include/panfrost-job.h b/src/panfrost/include/panfrost-job.h index 9ddc577..d1c93d7 100644 --- a/src/panfrost/include/panfrost-job.h +++ b/src/panfrost/include/panfrost-job.h @@ -42,14 +42,6 @@ typedef uint64_t mali_ptr; #define MALI_EXTRACT_TYPE(fmt) ((fmt)&0xe0) #define MALI_EXTRACT_INDEX(pixfmt) (((pixfmt) >> 12) & 0xFF) -/* Purposeful off-by-one in width, height fields. For example, a (64, 64) - * texture is stored as (63, 63) in these fields. This adjusts for that. - * There's an identical pattern in the framebuffer descriptor. Even vertex - * count fields work this way, hence the generic name -- integral fields that - * are strictly positive generally need this adjustment. */ - -#define MALI_POSITIVE(dim) (dim - 1) - /* Mali hardware can texture up to 65536 x 65536 x 65536 and render up to 16384 * x 16384, but 8192 x 8192 should be enough for anyone. The OpenGL game * "Cathedral" requires a texture of width 8192 to start.