r128_drm.h (112015) | r128_drm.h (119098) |
---|---|
1/* r128_drm.h -- Public header for the r128 driver -*- linux-c -*- 2 * Created: Wed Apr 5 19:24:19 2000 by kevin@precisioninsight.com 3 * 4 * Copyright 2000 Precision Insight, Inc., Cedar Park, Texas. 5 * Copyright 2000 VA Linux Systems, Inc., Sunnyvale, California. 6 * All rights reserved. 7 * 8 * Permission is hereby granted, free of charge, to any person obtaining a --- 14 unchanged lines hidden (view full) --- 23 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 24 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 25 * DEALINGS IN THE SOFTWARE. 26 * 27 * Authors: 28 * Gareth Hughes <gareth@valinux.com> 29 * Kevin E. Martin <martin@valinux.com> 30 * | 1/* r128_drm.h -- Public header for the r128 driver -*- linux-c -*- 2 * Created: Wed Apr 5 19:24:19 2000 by kevin@precisioninsight.com 3 * 4 * Copyright 2000 Precision Insight, Inc., Cedar Park, Texas. 5 * Copyright 2000 VA Linux Systems, Inc., Sunnyvale, California. 6 * All rights reserved. 7 * 8 * Permission is hereby granted, free of charge, to any person obtaining a --- 14 unchanged lines hidden (view full) --- 23 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 24 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 25 * DEALINGS IN THE SOFTWARE. 26 * 27 * Authors: 28 * Gareth Hughes <gareth@valinux.com> 29 * Kevin E. Martin <martin@valinux.com> 30 * |
31 * $FreeBSD: head/sys/dev/drm/r128_drm.h 112015 2003-03-09 02:08:30Z anholt $ | 31 * $FreeBSD: head/sys/dev/drm/r128_drm.h 119098 2003-08-19 02:57:31Z anholt $ |
32 */ 33 34#ifndef __R128_DRM_H__ 35#define __R128_DRM_H__ 36 37/* WARNING: If you change any of these defines, make sure to change the 38 * defines in the X server file (r128_sarea.h) 39 */ --- 119 unchanged lines hidden (view full) --- 159 unsigned int nbox; 160 161 /* Counters for client-side throttling of rendering clients. 162 */ 163 unsigned int last_frame; 164 unsigned int last_dispatch; 165 166 drm_tex_region_t tex_list[R128_NR_TEX_HEAPS][R128_NR_TEX_REGIONS+1]; | 32 */ 33 34#ifndef __R128_DRM_H__ 35#define __R128_DRM_H__ 36 37/* WARNING: If you change any of these defines, make sure to change the 38 * defines in the X server file (r128_sarea.h) 39 */ --- 119 unchanged lines hidden (view full) --- 159 unsigned int nbox; 160 161 /* Counters for client-side throttling of rendering clients. 162 */ 163 unsigned int last_frame; 164 unsigned int last_dispatch; 165 166 drm_tex_region_t tex_list[R128_NR_TEX_HEAPS][R128_NR_TEX_REGIONS+1]; |
167 int tex_age[R128_NR_TEX_HEAPS]; | 167 unsigned int tex_age[R128_NR_TEX_HEAPS]; |
168 int ctx_owner; | 168 int ctx_owner; |
169 int pfAllowPageFlip; /* number of 3d windows (0,1,2 or more) */ 170 int pfCurrentPage; /* which buffer is being displayed? */ |
|
169} drm_r128_sarea_t; 170 171 172/* WARNING: If you change any of these defines, make sure to change the 173 * defines in the Xserver file (xf86drmR128.h) 174 */ 175 176/* Rage 128 specific ioctls --- 11 unchanged lines hidden (view full) --- 188#define DRM_IOCTL_R128_INDICES DRM_IOW( 0x4a, drm_r128_indices_t) 189#define DRM_IOCTL_R128_BLIT DRM_IOW( 0x4b, drm_r128_blit_t) 190#define DRM_IOCTL_R128_DEPTH DRM_IOW( 0x4c, drm_r128_depth_t) 191#define DRM_IOCTL_R128_STIPPLE DRM_IOW( 0x4d, drm_r128_stipple_t) 192#define DRM_IOCTL_R128_INDIRECT DRM_IOWR(0x4f, drm_r128_indirect_t) 193#define DRM_IOCTL_R128_FULLSCREEN DRM_IOW( 0x50, drm_r128_fullscreen_t) 194#define DRM_IOCTL_R128_CLEAR2 DRM_IOW( 0x51, drm_r128_clear2_t) 195#define DRM_IOCTL_R128_GETPARAM DRM_IOW( 0x52, drm_r128_getparam_t) | 171} drm_r128_sarea_t; 172 173 174/* WARNING: If you change any of these defines, make sure to change the 175 * defines in the Xserver file (xf86drmR128.h) 176 */ 177 178/* Rage 128 specific ioctls --- 11 unchanged lines hidden (view full) --- 190#define DRM_IOCTL_R128_INDICES DRM_IOW( 0x4a, drm_r128_indices_t) 191#define DRM_IOCTL_R128_BLIT DRM_IOW( 0x4b, drm_r128_blit_t) 192#define DRM_IOCTL_R128_DEPTH DRM_IOW( 0x4c, drm_r128_depth_t) 193#define DRM_IOCTL_R128_STIPPLE DRM_IOW( 0x4d, drm_r128_stipple_t) 194#define DRM_IOCTL_R128_INDIRECT DRM_IOWR(0x4f, drm_r128_indirect_t) 195#define DRM_IOCTL_R128_FULLSCREEN DRM_IOW( 0x50, drm_r128_fullscreen_t) 196#define DRM_IOCTL_R128_CLEAR2 DRM_IOW( 0x51, drm_r128_clear2_t) 197#define DRM_IOCTL_R128_GETPARAM DRM_IOW( 0x52, drm_r128_getparam_t) |
198#define DRM_IOCTL_R128_FLIP DRM_IO( 0x53) |
|
196 197typedef struct drm_r128_init { 198 enum { 199 R128_INIT_CCE = 0x01, 200 R128_CLEANUP_CCE = 0x02 201 } func; 202#if CONFIG_XFREE86_VERSION < XFREE86_VERSION(4,1,0,0) 203 int sarea_priv_offset; --- 118 unchanged lines hidden --- | 199 200typedef struct drm_r128_init { 201 enum { 202 R128_INIT_CCE = 0x01, 203 R128_CLEANUP_CCE = 0x02 204 } func; 205#if CONFIG_XFREE86_VERSION < XFREE86_VERSION(4,1,0,0) 206 int sarea_priv_offset; --- 118 unchanged lines hidden --- |