aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/r128_drm.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/drm/r128_drm.h')
-rw-r--r--drivers/char/drm/r128_drm.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/char/drm/r128_drm.h b/drivers/char/drm/r128_drm.h
index e94a39c6e327..8d8878b55f55 100644
--- a/drivers/char/drm/r128_drm.h
+++ b/drivers/char/drm/r128_drm.h
@@ -222,11 +222,7 @@ typedef struct drm_r128_init {
222 R128_INIT_CCE = 0x01, 222 R128_INIT_CCE = 0x01,
223 R128_CLEANUP_CCE = 0x02 223 R128_CLEANUP_CCE = 0x02
224 } func; 224 } func;
225#if CONFIG_XFREE86_VERSION < XFREE86_VERSION(4,1,0,0)
226 int sarea_priv_offset;
227#else
228 unsigned long sarea_priv_offset; 225 unsigned long sarea_priv_offset;
229#endif
230 int is_pci; 226 int is_pci;
231 int cce_mode; 227 int cce_mode;
232 int cce_secure; 228 int cce_secure;
@@ -240,21 +236,12 @@ typedef struct drm_r128_init {
240 unsigned int depth_offset, depth_pitch; 236 unsigned int depth_offset, depth_pitch;
241 unsigned int span_offset; 237 unsigned int span_offset;
242 238
243#if CONFIG_XFREE86_VERSION < XFREE86_VERSION(4,1,0,0)
244 unsigned int fb_offset;
245 unsigned int mmio_offset;
246 unsigned int ring_offset;
247 unsigned int ring_rptr_offset;
248 unsigned int buffers_offset;
249 unsigned int agp_textures_offset;
250#else
251 unsigned long fb_offset; 239 unsigned long fb_offset;
252 unsigned long mmio_offset; 240 unsigned long mmio_offset;
253 unsigned long ring_offset; 241 unsigned long ring_offset;
254 unsigned long ring_rptr_offset; 242 unsigned long ring_rptr_offset;
255 unsigned long buffers_offset; 243 unsigned long buffers_offset;
256 unsigned long agp_textures_offset; 244 unsigned long agp_textures_offset;
257#endif
258} drm_r128_init_t; 245} drm_r128_init_t;
259 246
260typedef struct drm_r128_cce_stop { 247typedef struct drm_r128_cce_stop {
@@ -264,15 +251,10 @@ typedef struct drm_r128_cce_stop {
264 251
265typedef struct drm_r128_clear { 252typedef struct drm_r128_clear {
266 unsigned int flags; 253 unsigned int flags;
267#if CONFIG_XFREE86_VERSION < XFREE86_VERSION(4,1,0,0)
268 int x, y, w, h;
269#endif
270 unsigned int clear_color; 254 unsigned int clear_color;
271 unsigned int clear_depth; 255 unsigned int clear_depth;
272#if CONFIG_XFREE86_VERSION >= XFREE86_VERSION(4,1,0,0)
273 unsigned int color_mask; 256 unsigned int color_mask;
274 unsigned int depth_mask; 257 unsigned int depth_mask;
275#endif
276} drm_r128_clear_t; 258} drm_r128_clear_t;
277 259
278typedef struct drm_r128_vertex { 260typedef struct drm_r128_vertex {