Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f714e6ba955369959461329c26a61b77fac45405
https://github.com/WebKit/WebKit/commit/f714e6ba955369959461329c26a61b77fac45405
Author: Nikolas Zimmermann <[email protected]>
Date: 2026-03-03 (Tue, 03 Mar 2026)
Changed paths:
M Source/WebCore/platform/graphics/gbm/GBMVersioning.h
Log Message:
-----------
[GBM] gbm_bo_get_fd_for_plane() compat shim should pass DRM_RDWR to match
native behavior
https://bugs.webkit.org/show_bug.cgi?id=309065
Reviewed by Carlos Garcia Campos.
The native gbm_bo_get_fd_for_plane() in libgbm uses O_RDWR | O_CLOEXEC
when calling drmPrimeHandleToFD(), but the compatibility shim in
GBMVersioning.h only passed DRM_CLOEXEC. This adds DRM_RDWR to match.
Not testable on the bots.
* Source/WebCore/platform/graphics/gbm/GBMVersioning.h:
(gbm_bo_get_fd_for_plane):
Canonical link: https://commits.webkit.org/308544@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications