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 0bb5997f6512e5770271395e421e80683735dbb8
Author: Christopher Michael <devilho...@comcast.net>
AuthorDate: Sat Aug 30 08:01:45 2025 -0500

    ecore_drm2: Add symlink to drmModeSetCrtc function
    
    As we will use this function to set the crtc position, we need to
    symlink it
---
 src/lib/ecore_drm2/ecore_drm2.c         | 2 ++
 src/lib/ecore_drm2/ecore_drm2_private.h | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/src/lib/ecore_drm2/ecore_drm2.c b/src/lib/ecore_drm2/ecore_drm2.c
index 9f5d5c0fd7..dc2b3220e7 100644
--- a/src/lib/ecore_drm2/ecore_drm2.c
+++ b/src/lib/ecore_drm2/ecore_drm2.c
@@ -47,6 +47,7 @@ int (*sym_drmModeConnectorSetProperty)(int fd, uint32_t connector_id, uint32_t p
 int (*sym_drmModeSetPlane)(int fd, uint32_t plane_id, uint32_t crtc_id, uint32_t fb_id, uint32_t flags, int32_t crtc_x, int32_t crtc_y, uint32_t crtc_w, uint32_t crtc_h, uint32_t src_x, uint32_t src_y, uint32_t src_w, uint32_t src_h);
 bool (*sym_drmModeFormatModifierBlobIterNext)(const drmModePropertyBlobRes *blob, drmModeFormatModifierIterator *iter);
 int (*sym_drmHandleEvent)(int fd, drmEventContextPtr evctx);
+int (*sym_drmModeSetCrtc)(int fd, uint32_t crtcId, uint32_t bufferId, uint32_t x, uint32_t y, uint32_t *connectors, int count, drmModeModeInfoPtr mode);
 
 EAPI int ECORE_DRM2_EVENT_ACTIVATE = -1;
 EAPI int ECORE_DRM2_EVENT_DISPLAY_CHANGED = -1;
@@ -124,6 +125,7 @@ _ecore_drm2_link(void)
         SYM(_drm_lib, drmModeSetPlane);
         SYM(_drm_lib, drmModeFormatModifierBlobIterNext);
         SYM(_drm_lib, drmHandleEvent);
+        SYM(_drm_lib, drmModeSetCrtc);
 
         if (fail)
           {
diff --git a/src/lib/ecore_drm2/ecore_drm2_private.h b/src/lib/ecore_drm2/ecore_drm2_private.h
index d2d29438ba..ecab0cac0a 100644
--- a/src/lib/ecore_drm2/ecore_drm2_private.h
+++ b/src/lib/ecore_drm2/ecore_drm2_private.h
@@ -396,6 +396,7 @@ Eina_Bool _ecore_drm2_crtcs_create(Ecore_Drm2_Device *dev);
 void _ecore_drm2_crtcs_destroy(Ecore_Drm2_Device *dev);
 Eina_Bool _ecore_drm2_crtcs_mode_set(Ecore_Drm2_Crtc *crtc);
 Eina_Bool _ecore_drm2_crtcs_changes_apply(Ecore_Drm2_Crtc *crtc);
+Eina_Bool _ecore_drm2_crtcs_position_set(Ecore_Drm2_Crtc *crtc, uint32_t conn_id, int x, int y);
 
 Eina_Bool _ecore_drm2_connectors_create(Ecore_Drm2_Device *dev);
 void _ecore_drm2_connectors_destroy(Ecore_Drm2_Device *dev);
@@ -450,5 +451,6 @@ extern int (*sym_drmModeConnectorSetProperty)(int fd, uint32_t connector_id, uin
 extern int (*sym_drmModeSetPlane)(int fd, uint32_t plane_id, uint32_t crtc_id, uint32_t fb_id, uint32_t flags, int32_t crtc_x, int32_t crtc_y, uint32_t crtc_w, uint32_t crtc_h, uint32_t src_x, uint32_t src_y, uint32_t src_w, uint32_t src_h);
 extern bool (*sym_drmModeFormatModifierBlobIterNext)(const drmModePropertyBlobRes *blob, drmModeFormatModifierIterator *iter);
 extern int (*sym_drmHandleEvent)(int fd, drmEventContextPtr evctx);
+extern int (*sym_drmModeSetCrtc)(int fd, uint32_t crtcId, uint32_t bufferId, uint32_t x, uint32_t y, uint32_t *connectors, int count, drmModeModeInfoPtr mode);
 
 #endif

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

Reply via email to