Mesa (main): panfrost: Remove CACHE_LINE_SIZE #define

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Aug 25 20:18:05 UTC 2021


Module: Mesa
Branch: main
Commit: 8f25a606b454659906a09bceff242279b7a5bde4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8f25a606b454659906a09bceff242279b7a5bde4

Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Tue Aug 24 14:40:24 2021 -0400

panfrost: Remove CACHE_LINE_SIZE #define

Not only is it unused, it's totally wrong. Not even a little right.

Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12530>

---

 src/gallium/drivers/panfrost/pan_context.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/gallium/drivers/panfrost/pan_context.h b/src/gallium/drivers/panfrost/pan_context.h
index 3109bc68858..02c44cb794c 100644
--- a/src/gallium/drivers/panfrost/pan_context.h
+++ b/src/gallium/drivers/panfrost/pan_context.h
@@ -26,7 +26,6 @@
 #define __BUILDER_H__
 
 #define _LARGEFILE64_SOURCE 1
-#define CACHE_LINE_SIZE 1024 /* TODO */
 #include <sys/mman.h>
 #include <assert.h>
 #include "pan_resource.h"



More information about the mesa-commit mailing list