···102102/* This is the init structure after v1.2 */103103typedef struct _drm_i810_init {104104 drm_i810_init_func_t func;105105-#if CONFIG_XFREE86_VERSION < XFREE86_VERSION(4,1,0,0)106106- int ring_map_idx;107107- int buffer_map_idx;108108-#else109105 unsigned int mmio_offset;110106 unsigned int buffers_offset;111111-#endif112107 int sarea_priv_offset;113108 unsigned int ring_start;114109 unsigned int ring_end;
-18
drivers/char/drm/r128_drm.h
···222222 R128_INIT_CCE = 0x01,223223 R128_CLEANUP_CCE = 0x02224224 } func;225225-#if CONFIG_XFREE86_VERSION < XFREE86_VERSION(4,1,0,0)226226- int sarea_priv_offset;227227-#else228225 unsigned long sarea_priv_offset;229229-#endif230226 int is_pci;231227 int cce_mode;232228 int cce_secure;···236240 unsigned int depth_offset, depth_pitch;237241 unsigned int span_offset;238242239239-#if CONFIG_XFREE86_VERSION < XFREE86_VERSION(4,1,0,0)240240- unsigned int fb_offset;241241- unsigned int mmio_offset;242242- unsigned int ring_offset;243243- unsigned int ring_rptr_offset;244244- unsigned int buffers_offset;245245- unsigned int agp_textures_offset;246246-#else247243 unsigned long fb_offset;248244 unsigned long mmio_offset;249245 unsigned long ring_offset;250246 unsigned long ring_rptr_offset;251247 unsigned long buffers_offset;252248 unsigned long agp_textures_offset;253253-#endif254249} drm_r128_init_t;255250256251typedef struct drm_r128_cce_stop {···251264252265typedef struct drm_r128_clear {253266 unsigned int flags;254254-#if CONFIG_XFREE86_VERSION < XFREE86_VERSION(4,1,0,0)255255- int x, y, w, h;256256-#endif257267 unsigned int clear_color;258268 unsigned int clear_depth;259259-#if CONFIG_XFREE86_VERSION >= XFREE86_VERSION(4,1,0,0)260269 unsigned int color_mask;261270 unsigned int depth_mask;262262-#endif263271} drm_r128_clear_t;264272265273typedef struct drm_r128_vertex {