mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-11-17 04:56:00 +01:00
drm: reopen allocator node for mgpu
This commit is contained in:
parent
05219d5287
commit
5199868794
1 changed files with 1 additions and 1 deletions
|
@ -475,7 +475,7 @@ bool Aquamarine::CDRMBackend::initMgpu() {
|
||||||
if (!primary)
|
if (!primary)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
mgpu.allocator = CGBMAllocator::create(gpu->fd, backend);
|
mgpu.allocator = CGBMAllocator::create(backend->reopenDRMNode(gpu->fd), backend);
|
||||||
|
|
||||||
if (!mgpu.allocator) {
|
if (!mgpu.allocator) {
|
||||||
backend->log(AQ_LOG_ERROR, "drm: initMgpu: no allocator");
|
backend->log(AQ_LOG_ERROR, "drm: initMgpu: no allocator");
|
||||||
|
|
Loading…
Reference in a new issue