diff options
| author | Jesse Barnes <jesse.barnes@intel.com> | 2007-10-30 12:52:46 -0700 | 
|---|---|---|
| committer | Jesse Barnes <jesse.barnes@intel.com> | 2007-10-30 12:52:46 -0700 | 
| commit | 91aae7e683786a48547872b0a5fa92b2232e02c0 (patch) | |
| tree | a30c8022886d61add4a4c2e073fa07f29d7745a7 /shared-core/r128_drm.h | |
| parent | 7e9ea55a2f052cc939ba9bbf9edac39798344b7a (diff) | |
| parent | 79744d730c90019edd367eee4a8ec1fa22d53402 (diff) | |
Merge branch 'master' into vblank-rework, fixup remaining drivers
Conflicts:
	linux-core/drmP.h
	linux-core/drm_drv.c
	linux-core/drm_irq.c
	shared-core/i915_drv.h
	shared-core/i915_irq.c
	shared-core/mga_drv.h
	shared-core/mga_irq.c
	shared-core/radeon_drv.h
	shared-core/radeon_irq.c
Merge in the latest master bits and update the remaining drivers (except
mach64 which math_b is working on).  Also remove the 9xx hack from the i915
driver; it seems to be correct.
Diffstat (limited to 'shared-core/r128_drm.h')
| -rw-r--r-- | shared-core/r128_drm.h | 22 | 
1 files changed, 2 insertions, 20 deletions
diff --git a/shared-core/r128_drm.h b/shared-core/r128_drm.h index 6e8af313..8d8878b5 100644 --- a/shared-core/r128_drm.h +++ b/shared-core/r128_drm.h @@ -153,7 +153,7 @@ typedef struct drm_r128_sarea {  	/* The current cliprects, or a subset thereof.  	 */ -	drm_clip_rect_t boxes[R128_NR_SAREA_CLIPRECTS]; +	struct drm_clip_rect boxes[R128_NR_SAREA_CLIPRECTS];  	unsigned int nbox;  	/* Counters for client-side throttling of rendering clients. @@ -161,7 +161,7 @@ typedef struct drm_r128_sarea {  	unsigned int last_frame;  	unsigned int last_dispatch; -	drm_tex_region_t tex_list[R128_NR_TEX_HEAPS][R128_NR_TEX_REGIONS + 1]; +	struct drm_tex_region tex_list[R128_NR_TEX_HEAPS][R128_NR_TEX_REGIONS + 1];  	unsigned int tex_age[R128_NR_TEX_HEAPS];  	int ctx_owner;  	int pfAllowPageFlip;	/* number of 3d windows (0,1,2 or more) */ @@ -222,11 +222,7 @@ typedef struct drm_r128_init {  		R128_INIT_CCE = 0x01,  		R128_CLEANUP_CCE = 0x02  	} func; -#if CONFIG_XFREE86_VERSION < XFREE86_VERSION(4,1,0,0) -	int sarea_priv_offset; -#else  	unsigned long sarea_priv_offset; -#endif  	int is_pci;  	int cce_mode;  	int cce_secure; @@ -240,21 +236,12 @@ typedef struct drm_r128_init {  	unsigned int depth_offset, depth_pitch;  	unsigned int span_offset; -#if CONFIG_XFREE86_VERSION < XFREE86_VERSION(4,1,0,0) -	unsigned int fb_offset; -	unsigned int mmio_offset; -	unsigned int ring_offset; -	unsigned int ring_rptr_offset; -	unsigned int buffers_offset; -	unsigned int agp_textures_offset; -#else  	unsigned long fb_offset;  	unsigned long mmio_offset;  	unsigned long ring_offset;  	unsigned long ring_rptr_offset;  	unsigned long buffers_offset;  	unsigned long agp_textures_offset; -#endif  } drm_r128_init_t;  typedef struct drm_r128_cce_stop { @@ -264,15 +251,10 @@ typedef struct drm_r128_cce_stop {  typedef struct drm_r128_clear {  	unsigned int flags; -#if CONFIG_XFREE86_VERSION < XFREE86_VERSION(4,1,0,0) -	int x, y, w, h; -#endif  	unsigned int clear_color;  	unsigned int clear_depth; -#if CONFIG_XFREE86_VERSION >= XFREE86_VERSION(4,1,0,0)  	unsigned int color_mask;  	unsigned int depth_mask; -#endif  } drm_r128_clear_t;  typedef struct drm_r128_vertex {  | 
