From 9bde6e551d3e4e85a5cbe9fa311ee238517f0d5e Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 27 Dec 2019 12:08:45 -0500 Subject: [PATCH] panfrost: Remove MALI_SPECIAL_ATTRIBUTE_BASE defines These are conventions by the blob (a convention we happent to follow). They are not at all intrinsic to the hardware, so now that the convention is implemented within the Midgard stack, these defines are wholly unused. Remove them. Signed-off-by: Alyssa Rosenzweig --- src/panfrost/include/panfrost-job.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/panfrost/include/panfrost-job.h b/src/panfrost/include/panfrost-job.h index 70ab2585eea..6f534667ce5 100644 --- a/src/panfrost/include/panfrost-job.h +++ b/src/panfrost/include/panfrost-job.h @@ -669,11 +669,6 @@ struct mali_payload_write_value { u64 immediate; } __attribute__((packed)); -/* Special attributes have a fixed index */ -#define MALI_SPECIAL_ATTRIBUTE_BASE 16 -#define MALI_VERTEX_ID (MALI_SPECIAL_ATTRIBUTE_BASE + 0) -#define MALI_INSTANCE_ID (MALI_SPECIAL_ATTRIBUTE_BASE + 1) - /* * Mali Attributes * -- 2.30.2