aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dristat.c')
-rw-r--r--tests/dristat.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/dristat.c b/tests/dristat.c
index 47193ab4..07ab54ea 100644
--- a/tests/dristat.c
+++ b/tests/dristat.c
@@ -69,18 +69,6 @@ static void getbusid(int fd)
69 drmFreeBusid(busid); 69 drmFreeBusid(busid);
70} 70}
71 71
72#if 0
73typedef struct {
74 unsigned long offset; /* Requested physical address (0 for SAREA)*/
75 unsigned long size; /* Requested physical size (bytes) */
76 drm_map_type_t type; /* Type of memory to map */
77 drm_map_flags_t flags; /* Flags */
78 void *handle; /* User-space: "Handle" to pass to mmap */
79 /* Kernel-space: kernel-virtual address */
80 int mtrr; /* MTRR slot used */
81 /* Private data */
82} drmVmRec, *drmVmPtr;
83#endif
84 72
85static void getvm(int fd) 73static void getvm(int fd)
86{ 74{