|
From: GitLab M. <git...@ke...> - 2026-03-08 20:29:34
|
gen_table_fourcc.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit b9dea73dfa310bc945ae6f09004a08fd624952ec
Author: Janne Grunau <j...@ja...>
Date: Fri Mar 6 13:06:12 2026 +0100
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...@ja...>
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+)'
}
|