This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch devs/devilhorns/apos
in repository efl.

View the commit online.

commit 67f3c5e097a74e196e16400a6669e02cd91c58ad
Author: Christopher Michael <devilho...@comcast.net>
AuthorDate: Sun Aug 17 08:24:38 2025 -0500

    ecore_drm2: Add support for fetching connector max_bpc
---
 src/lib/ecore_drm2/ecore_drm2_connectors.c | 5 +++++
 src/lib/ecore_drm2/ecore_drm2_private.h    | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/lib/ecore_drm2/ecore_drm2_connectors.c b/src/lib/ecore_drm2/ecore_drm2_connectors.c
index 705af7e24c..afd96f36d9 100644
--- a/src/lib/ecore_drm2/ecore_drm2_connectors.c
+++ b/src/lib/ecore_drm2/ecore_drm2_connectors.c
@@ -153,6 +153,11 @@ _ecore_drm2_connector_state_fill(Ecore_Drm2_Connector *conn)
           {
              cstate->wb_out_ptr.id = prop->prop_id;
           }
+        else if (!strcmp(prop->name, "max bpc"))
+          {
+             cstate->max_bpc.id = prop->prop_id;
+             cstate->max_bpc.value = oprops->prop_values[i];
+          }
 
 cont:
         sym_drmModeFreeProperty(prop);
diff --git a/src/lib/ecore_drm2/ecore_drm2_private.h b/src/lib/ecore_drm2/ecore_drm2_private.h
index a2f5aba7e5..7985b24179 100644
--- a/src/lib/ecore_drm2/ecore_drm2_private.h
+++ b/src/lib/ecore_drm2/ecore_drm2_private.h
@@ -136,6 +136,7 @@ typedef struct _Ecore_Drm2_Connector_State
    Ecore_Drm2_Atomic_Blob wb_formats;
    Ecore_Drm2_Atomic_Property wb_fb_id;
    Ecore_Drm2_Atomic_Property wb_out_ptr;
+   Ecore_Drm2_Atomic_Property max_bpc;
 
    /* TODO ?? */
    /* Ecore_Drm2_Atomic_Property link-status; */
@@ -144,7 +145,6 @@ typedef struct _Ecore_Drm2_Connector_State
    /* Ecore_Drm2_Atomic_Property underscan; */
    /* Ecore_Drm2_Atomic_Property underscan hborder; */
    /* Ecore_Drm2_Atomic_Property underscan vborder; */
-   /* Ecore_Drm2_Atomic_Property max bpc; */
    /* Ecore_Drm2_Atomic_Property HDR_OUTPUT_METADATA; */
    /* Ecore_Drm2_Atomic_Property vrr_capable; */
    /* Ecore_Drm2_Atomic_Property Content Protection; */

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to