diff options
author | Hans Rosenfeld <hans.rosenfeld@joyent.com> | 2017-06-16 14:03:55 +0200 |
---|---|---|
committer | Hans Rosenfeld <hans.rosenfeld@joyent.com> | 2017-06-19 12:32:57 +0200 |
commit | 6b289aebdf0242bc2d96f6090f294126571803cd (patch) | |
tree | f407adc0c4659ef5cc0e423a1830d59eea0bd33d | |
parent | 2657ff06c26f647e88730986a6df2f876606e4e3 (diff) | |
download | illumos-gfx-drm-6b289aebdf0242bc2d96f6090f294126571803cd.tar.gz |
8405 don't depend on Xorg headers
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com>
Reviewed by: Alexander Pyhalov <alp@rsu.ru>
-rw-r--r-- | usr/src/common/libdrm/patches/freedreno.patch | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/usr/src/common/libdrm/patches/freedreno.patch b/usr/src/common/libdrm/patches/freedreno.patch index 622faac..c486697 100644 --- a/usr/src/common/libdrm/patches/freedreno.patch +++ b/usr/src/common/libdrm/patches/freedreno.patch @@ -1,17 +1,12 @@ diff ... libdrm-2.4.73/freedreno/kgsl/kgsl_bo.c --- libdrm-2.4.73-ref/freedreno/kgsl/kgsl_bo.c Wed Aug 24 12:57:41 2016 +++ libdrm-2.4.73/freedreno/kgsl/kgsl_bo.c Sat Dec 31 12:27:53 2016 -@@ -32,7 +32,12 @@ +@@ -32,7 +32,5 @@ #include "kgsl_priv.h" -+#if defined(__sun) && defined(__SVR4) -+#include <xorg/xorg-server.h> -+#include <xorg/fb.h> -+#else - #include <linux/fb.h> -+#endif - +-#include <linux/fb.h> +- static int set_memtype(struct fd_device *dev, uint32_t handle, uint32_t flags) { diff ... libdrm-2.4.73/freedreno/kgsl/kgsl_ringbuffer.c |