39 */
40
41 #ifndef _DRMP_H
42 #define _DRMP_H
43
44 #include <sys/sysmacros.h>
45 #include <sys/types.h>
46 #include <sys/conf.h>
47 #include <sys/modctl.h>
48 #include <sys/stat.h>
49 #include <sys/file.h>
50 #include <sys/cmn_err.h>
51 #include <sys/varargs.h>
52 #include <sys/pci.h>
53 #include <sys/ddi.h>
54 #include <sys/sunddi.h>
55 #include <sys/sunldi.h>
56 #include <sys/pmem.h>
57 #include <sys/agpgart.h>
58 #include <sys/time.h>
59 #include "drm_atomic.h"
60 #include "drm.h"
61 #include "queue.h"
62 #include "drm_linux_list.h"
63
64 #ifndef __inline__
65 #define __inline__ inline
66 #endif
67
68 #if !defined(__FUNCTION__)
69 #if defined(C99)
70 #define __FUNCTION__ __func__
71 #else
72 #define __FUNCTION__ " "
73 #endif
74 #endif
75
76 /* DRM space units */
77 #define DRM_PAGE_SHIFT PAGESHIFT
78 #define DRM_PAGE_SIZE (1 << DRM_PAGE_SHIFT)
|
39 */
40
41 #ifndef _DRMP_H
42 #define _DRMP_H
43
44 #include <sys/sysmacros.h>
45 #include <sys/types.h>
46 #include <sys/conf.h>
47 #include <sys/modctl.h>
48 #include <sys/stat.h>
49 #include <sys/file.h>
50 #include <sys/cmn_err.h>
51 #include <sys/varargs.h>
52 #include <sys/pci.h>
53 #include <sys/ddi.h>
54 #include <sys/sunddi.h>
55 #include <sys/sunldi.h>
56 #include <sys/pmem.h>
57 #include <sys/agpgart.h>
58 #include <sys/time.h>
59 #include <sys/sysmacros.h>
60 #include "drm_atomic.h"
61 #include "drm.h"
62 #include "queue.h"
63 #include "drm_linux_list.h"
64
65 #ifndef __inline__
66 #define __inline__ inline
67 #endif
68
69 #if !defined(__FUNCTION__)
70 #if defined(C99)
71 #define __FUNCTION__ __func__
72 #else
73 #define __FUNCTION__ " "
74 #endif
75 #endif
76
77 /* DRM space units */
78 #define DRM_PAGE_SHIFT PAGESHIFT
79 #define DRM_PAGE_SIZE (1 << DRM_PAGE_SHIFT)
|