diff --git a/src/backend/drm/DRM.cpp b/src/backend/drm/DRM.cpp index afca396..db5ca79 100644 --- a/src/backend/drm/DRM.cpp +++ b/src/backend/drm/DRM.cpp @@ -475,7 +475,7 @@ bool Aquamarine::CDRMBackend::initMgpu() { if (!primary) return true; - mgpu.allocator = CGBMAllocator::create(gpu->fd, backend); + mgpu.allocator = CGBMAllocator::create(backend->reopenDRMNode(gpu->fd), backend); if (!mgpu.allocator) { backend->log(AQ_LOG_ERROR, "drm: initMgpu: no allocator");