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 0973d4263a7e754a63f269da875775d387d92d1b
Author: Christopher Michael <[email protected]>
AuthorDate: Wed Jan 28 11:46:56 2026 -0600
ecore_drm2: Fix checking if a plane is available
As we cannot rely on plane->possible_crtcs being filled when this
called (due to threading), let's use the
plane->drmPlane->possible_crtcs value instead
---
src/lib/ecore_drm2/ecore_drm2_planes.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/lib/ecore_drm2/ecore_drm2_planes.c b/src/lib/ecore_drm2/ecore_drm2_planes.c
index 016164d5d6..12f832a536 100644
--- a/src/lib/ecore_drm2/ecore_drm2_planes.c
+++ b/src/lib/ecore_drm2/ecore_drm2_planes.c
@@ -349,11 +349,13 @@ _ecore_drm2_planes_available(Ecore_Drm2_Plane *plane, Ecore_Drm2_Display *disp)
if (!plane->state.current)
return !!(plane->drmPlane->possible_crtcs & (1 << disp->crtc->pipe));
- if (!plane->state.current->complete) return EINA_FALSE;
+ if (plane->state.current->cid.value != 0)
+ {
+ if (plane->state.current->cid.value != disp->crtc->id)
+ return EINA_FALSE;
+ }
- if (plane->state.current->cid.value != disp->crtc->id) return EINA_FALSE;
-
- return !!(plane->possible_crtcs & (1 << disp->crtc->pipe));
+ return !!(plane->drmPlane->possible_crtcs & (1 << disp->crtc->pipe));
}
Eina_Bool
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.