mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
glamor: Enable dma-buf on nvidia
Nvidia needs dma-buf for glamor acceleration to work when using the modesetting ddx driver. Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
This commit is contained in:
committed by
Enrico Weigelt, metux IT consult
parent
dd23f1aaf6
commit
daeb288bd9
@@ -1288,6 +1288,8 @@ glamor_egl_init(ScrnInfoPtr scrn, int fd)
|
||||
glamor_egl->dmabuf_capable = TRUE;
|
||||
else if (strstr((const char *)renderer, "zink"))
|
||||
glamor_egl->dmabuf_capable = TRUE;
|
||||
else if (strstr((const char *)renderer, "NVIDIA"))
|
||||
glamor_egl->dmabuf_capable = TRUE;
|
||||
else
|
||||
glamor_egl->dmabuf_capable = FALSE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user