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 896ff035f140abb89e2f3ebdbbd7d23ebaeb002a
Author: Christopher Michael <devilho...@comcast.net>
AuthorDate: Fri Aug 15 09:33:47 2025 -0500

    ecore_drm2: Fix iss of using wrong property id for writeback formats
    and store the property IDs for writeback_fb and writeback_out_fence
---
 src/lib/ecore_drm2/ecore_drm2_connectors.c | 6 +++---
 src/lib/ecore_drm2/ecore_drm2_private.h    | 2 ++
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/lib/ecore_drm2/ecore_drm2_connectors.c b/src/lib/ecore_drm2/ecore_drm2_connectors.c
index 2239fcf14a..d693240801 100644
--- a/src/lib/ecore_drm2/ecore_drm2_connectors.c
+++ b/src/lib/ecore_drm2/ecore_drm2_connectors.c
@@ -128,7 +128,7 @@ _ecore_drm2_connector_state_fill(Ecore_Drm2_Connector *conn)
              drmModePropertyBlobPtr bp;
              uint32_t *formats;
 
-             cstate->wb_formats.id = oprops->prop_values[i];
+             cstate->wb_formats.id = prop->prop_id;
              if (!cstate->wb_formats.id) goto cont;
 
              bp = sym_drmModeGetPropertyBlob(conn->fd, cstate->wb_formats.id);
@@ -147,11 +147,11 @@ _ecore_drm2_connector_state_fill(Ecore_Drm2_Connector *conn)
           }
         else if (!strcmp(prop->name, "WRITEBACK_FB_ID"))
           {
-             /* TODO */
+             cstate->wb_fb_id.id = prop->prop_id;
           }
         else if (!strcmp(prop->name, "WRITEBACK_OUT_FENCE_PTR"))
           {
-             /* TODO */
+             cstate->wb_out_ptr.id = prop->prop_id;
           }
 
 cont:
diff --git a/src/lib/ecore_drm2/ecore_drm2_private.h b/src/lib/ecore_drm2/ecore_drm2_private.h
index 23c9ea9609..a2f5aba7e5 100644
--- a/src/lib/ecore_drm2/ecore_drm2_private.h
+++ b/src/lib/ecore_drm2/ecore_drm2_private.h
@@ -134,6 +134,8 @@ typedef struct _Ecore_Drm2_Connector_State
    Ecore_Drm2_Atomic_Property scaling;
    Ecore_Drm2_Atomic_Blob edid;
    Ecore_Drm2_Atomic_Blob wb_formats;
+   Ecore_Drm2_Atomic_Property wb_fb_id;
+   Ecore_Drm2_Atomic_Property wb_out_ptr;
 
    /* TODO ?? */
    /* Ecore_Drm2_Atomic_Property link-status; */

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

Reply via email to