summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r200/r200_ioctl.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-10-14 12:26:53 -0700
committerEric Anholt <[email protected]>2011-10-28 11:22:26 -0700
commit4a2f00889ba481c117057da5fac7585327458cc3 (patch)
tree41d39a2a4225e5230b41a0e482e88a011b6e4aae /src/mesa/drivers/dri/r200/r200_ioctl.h
parent3996ed555e0a024051e4d161c8d31b2530d8cdc5 (diff)
r200: Drop the non-kernel-memory-manager and DRI1 code.
Diffstat (limited to 'src/mesa/drivers/dri/r200/r200_ioctl.h')
-rw-r--r--src/mesa/drivers/dri/r200/r200_ioctl.h18
1 files changed, 4 insertions, 14 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_ioctl.h b/src/mesa/drivers/dri/r200/r200_ioctl.h
index f2527189aa8..60c1f618b9a 100644
--- a/src/mesa/drivers/dri/r200/r200_ioctl.h
+++ b/src/mesa/drivers/dri/r200/r200_ioctl.h
@@ -150,23 +150,13 @@ static inline uint32_t cmdpacket3(int cmd_type)
}
#define OUT_BATCH_PACKET3(packet, num_extra) do { \
- if (!b_l_rmesa->radeonScreen->kernel_mm) { \
- OUT_BATCH(cmdpacket3(RADEON_CMD_PACKET3)); \
- OUT_BATCH(CP_PACKET3((packet), (num_extra))); \
- } else { \
- OUT_BATCH(CP_PACKET2); \
- OUT_BATCH(CP_PACKET3((packet), (num_extra))); \
- } \
+ OUT_BATCH(CP_PACKET2); \
+ OUT_BATCH(CP_PACKET3((packet), (num_extra))); \
} while(0)
#define OUT_BATCH_PACKET3_CLIP(packet, num_extra) do { \
- if (!b_l_rmesa->radeonScreen->kernel_mm) { \
- OUT_BATCH(cmdpacket3(RADEON_CMD_PACKET3_CLIP)); \
- OUT_BATCH(CP_PACKET3((packet), (num_extra))); \
- } else { \
- OUT_BATCH(CP_PACKET2); \
- OUT_BATCH(CP_PACKET3((packet), (num_extra))); \
- } \
+ OUT_BATCH(CP_PACKET2); \
+ OUT_BATCH(CP_PACKET3((packet), (num_extra))); \
} while(0)