summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/drmP.h
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2008-05-27 19:45:30 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2008-05-27 19:45:30 +0000
commitdb5f6db1d3e912dd792a8013b5825b3922088bfe (patch)
tree61722b7cf9120909eab212098aa55191865dd704 /sys/dev/pci/drm/drmP.h
parent6d2e844dc60d2d800fa27d11ad2794a7be3c1f56 (diff)
Since the vtophys stuff was nuked, drm now works on amd64 too. Add the
relavent config goo. DRM_NO_MTRR is still needed on amd64 since the mtrr apis differ between it and i386. ok kettenis@.
Diffstat (limited to 'sys/dev/pci/drm/drmP.h')
-rw-r--r--sys/dev/pci/drm/drmP.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/drmP.h b/sys/dev/pci/drm/drmP.h
index 0d951fb9fb4..e2ca5e3e3b0 100644
--- a/sys/dev/pci/drm/drmP.h
+++ b/sys/dev/pci/drm/drmP.h
@@ -130,6 +130,10 @@ typedef struct drm_file drm_file_t;
#include "drm_linux_list.h"
#include "drm_atomic.h"
+#ifdef __amd64__
+#define DRM_NO_MTRR
+#endif /* Until the mtrr apis are merged. */
+
#if defined(__FreeBSD__) || defined(__NetBSD__)
#include <opt_drm.h>
#endif