Skip to contentSkip to conversation

Include xf86Pci.h for DRICreatePCIBusID with xserver Git master

PATCH In review Michel Dänzer 2 participants 2 messages Jun 26, 2017 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Include xf86Pci.h for DRICreatePCIBusID with xserver Git master

From: Michel Dänzer <[email protected]>

The declaration has been moved there from dri.h.

---
 src/radeon_probe.c | 5 +++++
 1 file changed, 5 insertions(+)
src/radeon_probe.c +5 -0
index aaace2b5f..19295f00c 100644
@@ -48,7 +48,12 @@
 #include "xf86.h"
 
 #include "xf86drmMode.h"
+
+#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,19,99,1,0)
+#include <xf86Pci.h>
+#else
 #include "dri.h"
+#endif
 
 #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 #include <xf86_OSproc.h>
Signature · 6 lines
2.13.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 20170626095856.14464-1-michel-otUistvHUpPR7s880joybQ@public.gmane.org

Reviewed-by Alex Deucher
#2 lore raw
Quoted 8 lines

-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Michel Dänzer
Sent: Monday, June 26, 2017 5:59 AM
To: [email protected]
Subject: [PATCH xf86-video-ati] Include xf86Pci.h for DRICreatePCIBusID with xserver Git master

Quoted 5 lines

From: Michel Dänzer <[email protected]>

The declaration has been moved there from dri.h.

Quoted 24 lines
---
 src/radeon_probe.c | 5 +++++
 1 file changed, 5 insertions(+)
src/radeon_probe.c +5 -1
index aaace2b5f..19295f00c 100644
@@ -48,7 +48,12 @@
 #include "xf86.h"
 
 #include "xf86drmMode.h"
+
+#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,19,99,1,0)
+#include <xf86Pci.h>
+#else
 #include "dri.h"
+#endif
 
 #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 #include <xf86_OSproc.h>
--

2.13.1

Quoted 4 lines

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx