Bug 306864
| Summary: | [GTK][WPE] MemoryMappedGPUBuffer backed BitmapTexture occasionally hangs v3d GPU driver | ||
|---|---|---|---|
| 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
When backed by dma-buf, Mesa and GBM share the same DRM fd and thus the same GEM handle. glDeleteTextures will cause Mesa to close the GEM handle via DRM_IOCTL_GEM_CLOSE. If gbm_bo_destroy also tries to close the same handle, the double-close corrupts V3D driver state... Detach the gbm_bo so ~MemoryMappedGPUBuffer skips gbm_bo_destroy.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Nikolas Zimmermann
Pull request: https://github.com/WebKit/WebKit/pull/57781
Nikolas Zimmermann
Pull request: https://github.com/WebKit/WebKit/pull/59800
EWS
Committed 308550@main (9264d2efac56): <https://commits.webkit.org/308550@main>
Reviewed commits have been landed. Closing PR #59800 and removing active labels.