From b9dea73dfa310bc945ae6f09004a08fd624952ec Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Fri, 6 Mar 2026 13:06:12 +0100 Subject: [PATCH] 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 --- gen_table_fourcc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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+)' }