summaryrefslogtreecommitdiff
path: root/recipes-graphics/mesa/mesa/0005-tegra-open-card1-instead-of-renderD128.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics/mesa/mesa/0005-tegra-open-card1-instead-of-renderD128.patch')
-rw-r--r--recipes-graphics/mesa/mesa/0005-tegra-open-card1-instead-of-renderD128.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/recipes-graphics/mesa/mesa/0005-tegra-open-card1-instead-of-renderD128.patch b/recipes-graphics/mesa/mesa/0005-tegra-open-card1-instead-of-renderD128.patch
deleted file mode 100644
index 14a867a..0000000
--- a/recipes-graphics/mesa/mesa/0005-tegra-open-card1-instead-of-renderD128.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From a97f868a806ab4f1aaab88c72d4b55bfb18cc3cc Mon Sep 17 00:00:00 2001
-From: Alexandre Courbot <acourbot@nvidia.com>
-Date: Fri, 9 Dec 2016 17:04:16 +0900
-Subject: [PATCH 5/8] tegra: open card1 instead of renderD128
-
-Mesa wants to perform a FLINK ioctl to share GPU buffers. This ioctl is
-not valid on render-nodes.
-
-This fixes rendering with Weston, but GLX is still broken.
----
- src/gallium/winsys/tegra/drm/tegra_drm_winsys.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/gallium/winsys/tegra/drm/tegra_drm_winsys.c b/src/gallium/winsys/tegra/drm/tegra_drm_winsys.c
-index 361370d..e213942 100644
---- a/src/gallium/winsys/tegra/drm/tegra_drm_winsys.c
-+++ b/src/gallium/winsys/tegra/drm/tegra_drm_winsys.c
-@@ -10,7 +10,7 @@
- static struct pipe_screen *
- tegra_create(struct renderonly *ro)
- {
-- int fd = open("/dev/dri/renderD128", O_RDWR | O_CLOEXEC);
-+ int fd = open("/dev/dri/card1", O_RDWR | O_CLOEXEC);
-
- if (fd == -1)
- return NULL;
---
-2.9.3
-