summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanne Grunau <j@jannau.net>2026-03-06 13:06:12 +0100
committerJanne Grunau <j@jannau.net>2026-03-06 13:06:12 +0100
commitb9dea73dfa310bc945ae6f09004a08fd624952ec (patch)
treefec28568d74a0ed30cadd377da21edbaa15cc223
parent15cdcfe9e1c4b00f2a819bc1f4b3efa1326ac6bc (diff)
gen_table_fourcc: Add Apple as vendor
The modifiers for DRM_FORMAT_MOD_VENDOR_APPLE are simple and cna be represented in a static table. Add "APPLE" as pattern. Signed-off-by: Janne Grunau <j@jannau.net>
-rw-r--r--gen_table_fourcc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gen_table_fourcc.py b/gen_table_fourcc.py
index 1473d437..cb8f1626 100644
--- a/gen_table_fourcc.py
+++ b/gen_table_fourcc.py
@@ -34,7 +34,7 @@ towrite = sys.argv[2]
fm_re = {
'intel': r'^#define I915_FORMAT_MOD_(\w+)',
- 'others': r'^#define DRM_FORMAT_MOD_((?:ARM|SAMSUNG|QCOM|VIVANTE|NVIDIA|BROADCOM|ALLWINNER)\w+)\s',
+ 'others': r'^#define DRM_FORMAT_MOD_((?:ARM|APPLE|SAMSUNG|QCOM|VIVANTE|NVIDIA|BROADCOM|ALLWINNER)\w+)\s',
'vendors': r'^#define DRM_FORMAT_MOD_VENDOR_(\w+)'
}