Bug 309065
| Summary: | [GBM] gbm_bo_get_fd_for_plane() compat shim should pass DRM_RDWR to match native behavior | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Nikolas Zimmermann <zimmermann> |
| Component: | WPE WebKit | Assignee: | Nikolas Zimmermann <zimmermann> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Nikolas Zimmermann
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 - fix that.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Nikolas Zimmermann
Pull request: https://github.com/WebKit/WebKit/pull/59797
EWS
Committed 308544@main (f714e6ba9553): <https://commits.webkit.org/308544@main>
Reviewed commits have been landed. Closing PR #59797 and removing active labels.