diff options
Diffstat (limited to 'sys/dev/pci/drm/drmP.h')
-rw-r--r-- | sys/dev/pci/drm/drmP.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/pci/drm/drmP.h b/sys/dev/pci/drm/drmP.h index d14ea9b87b0..6c087a638f7 100644 --- a/sys/dev/pci/drm/drmP.h +++ b/sys/dev/pci/drm/drmP.h @@ -1,4 +1,4 @@ -/* $OpenBSD: drmP.h,v 1.131 2012/08/22 08:23:41 mpi Exp $ */ +/* $OpenBSD: drmP.h,v 1.132 2012/09/08 16:42:20 mpi Exp $ */ /* drmP.h -- Private header for Direct Rendering Manager -*- linux-c -*- * Created: Mon Jan 4 10:05:05 1999 by faith@precisioninsight.com */ @@ -72,6 +72,9 @@ #include "drm.h" #include "drm_atomic.h" +#include "agp.h" + +#define __OS_HAS_AGP (NAGP > 0) #if BYTE_ORDER == BIG_ENDIAN #define __BIG_ENDIAN @@ -87,8 +90,6 @@ /* Internal types and structures */ #define DRM_IF_VERSION(maj, min) (maj << 16 | min) -#define __OS_HAS_AGP 1 - #define DRM_CURRENTPID curproc->p_pid #define DRM_LOCK() rw_enter_write(&dev->dev_lock) #define DRM_UNLOCK() rw_exit_write(&dev->dev_lock) |