From 6c2d99d28c643ab1c227aebeeb544b9833a9614a Mon Sep 17 00:00:00 2001 From: Raviteja Tamatam Date: Mon, 12 Feb 2024 15:47:38 -0800 Subject: [PATCH] ANDROID: include: drm: increase DRM max property count to 96 Increase drm property count to 96 to make room for custom drm properties. Upstream allows 64 properties for each drm object but it is not sufficient for all downstream QCOM features. This change is needed in ACK tree until all downstream features are present in upstream kernel and max property count also updated. In parallel, we are checking with upstream community to use dynamic property allocation instead of static count to allow increased usage without impacting any ACK change. Bug: 323008142 Change-Id: I31117ed02cc248aeff4ba902ea21158cfd087109 Signed-off-by: Raviteja Tamatam --- include/drm/drm_mode_object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/drm/drm_mode_object.h b/include/drm/drm_mode_object.h index 08d7a7f0188f..40dfb532aedd 100644 --- a/include/drm/drm_mode_object.h +++ b/include/drm/drm_mode_object.h @@ -60,7 +60,7 @@ struct drm_mode_object { void (*free_cb)(struct kref *kref); }; -#define DRM_OBJECT_MAX_PROPERTY 64 +#define DRM_OBJECT_MAX_PROPERTY 96 /** * struct drm_object_properties - property tracking for &drm_mode_object */