summaryrefslogtreecommitdiffstats
path: root/graphics/libdrm/files/extra-tests__radeon__radeon_ttm.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libdrm/files/extra-tests__radeon__radeon_ttm.c')
-rw-r--r--graphics/libdrm/files/extra-tests__radeon__radeon_ttm.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/libdrm/files/extra-tests__radeon__radeon_ttm.c b/graphics/libdrm/files/extra-tests__radeon__radeon_ttm.c
new file mode 100644
index 0000000..ff022a3
--- /dev/null
+++ b/graphics/libdrm/files/extra-tests__radeon__radeon_ttm.c
@@ -0,0 +1,13 @@
+--- tests/radeon/radeon_ttm.c.orig 2013-11-07 11:34:28.207096353 +0100
++++ tests/radeon/radeon_ttm.c 2013-11-07 11:37:41.571085931 +0100
+@@ -25,6 +25,10 @@
+ */
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <unistd.h>
++
++#include <xf86drm.h>
++
+ #include "rbo.h"
+
+ /* allocate as many single page bo to try to starve the kernel
OpenPOWER on IntegriCloud