Bugzilla – Bug 1212533
PRIME support for DRM drivers
Last modified: 2024-06-25 17:43:31 UTC
Add PRIME support for the DRM drivers that do not have it already. This is required by our new installer, agama. Agama is based on the wlroots library, which uses PRIME to shared graphics buffers across process boundaries. Most DRM drivers already support PRIME. For the few others, we don't need full import/export; only 'self-import', were drivers import buffers to themselves, is required. A patchset has already been reviewed and is ready for being included in upstream at https://patchwork.freedesktop.org/series/119377/
The following commits from drm-misc-next hasve been mreged into ALP-current: 71a7974ac701 drm/prime: Unexport helpers for fd/handle conversion 71e801b9b44f drm: Clear fd/handle callbacks in struct drm_driver 6b85aa68d9d5 drm: Enable PRIME import/export for all drivers All existing and any new drivers within DRM should now support PRIME import/export for their own buffers. I assume that this enables agama/sway/wlroots on all systems. RESOLVING as FIXED.