diff options
author | Dave Airlie <airlied@redhat.com> | 2008-07-30 17:05:50 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-07-30 17:05:50 +1000 |
commit | d659302e0955598ae08316ab911a0fb74d5e2f2f (patch) | |
tree | 4d752be57bd445910480ea1e6c769ab649757031 /shared-core/radeon_drm.h | |
parent | 0452be882607f2d1601f4e592a11ccf543f5f9ca (diff) |
radeon: add some handles to the sarea + kernel mm available check
Diffstat (limited to 'shared-core/radeon_drm.h')
-rw-r--r-- | shared-core/radeon_drm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/shared-core/radeon_drm.h b/shared-core/radeon_drm.h index c20de561..8ee1baa7 100644 --- a/shared-core/radeon_drm.h +++ b/shared-core/radeon_drm.h @@ -455,6 +455,13 @@ typedef struct { int tiling_enabled; /* set by drm, read by 2d + 3d clients */ unsigned int last_fence; + + uint32_t front_handle; + uint32_t back_handle; + uint32_t depth_handle; + uint32_t front_pitch; + uint32_t back_pitch; + uint32_t depth_pitch; } drm_radeon_sarea_t; @@ -705,6 +712,7 @@ typedef struct drm_radeon_indirect { #define RADEON_PARAM_VBLANK_CRTC 13 /* VBLANK CRTC */ #define RADEON_PARAM_FB_LOCATION 14 /* FB location */ #define RADEON_PARAM_NUM_GB_PIPES 15 /* num GB pipes */ +#define RADEON_PARAM_KERNEL_MM 16 typedef struct drm_radeon_getparam { int param; |