summaryrefslogtreecommitdiff
path: root/src/r600_state.h
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-08-05 17:26:28 -0400
committerAlex Deucher <alexdeucher@gmail.com>2010-08-05 17:36:36 -0400
commitb5bfdbd70d9671250957ccd41dfc8818850d257e (patch)
tree315fb46fde7773a628ad0b301a27278b48ff65a8 /src/r600_state.h
parenta3c59c6f6be7067421e348142da0ca13428dcd57 (diff)
r6xx/r7xx: add support for tiling with kms (v3)
Requires radeon drm 2.6.0 and updated mesa. v2: - fix lockup due to not emiting DB_DEPTH_INFO https://bugs.freedesktop.org/show_bug.cgi?id=28342 - fix drm minor version to deal with evergreen accel v3: rebase on current ddx git Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Diffstat (limited to 'src/r600_state.h')
-rw-r--r--src/r600_state.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/r600_state.h b/src/r600_state.h
index 4e65bc1f..151f402a 100644
--- a/src/r600_state.h
+++ b/src/r600_state.h
@@ -330,6 +330,9 @@ R600SetAccelState(ScrnInfoPtr pScrn,
extern Bool RADEONPrepareAccess_CS(PixmapPtr pPix, int index);
extern void RADEONFinishAccess_CS(PixmapPtr pPix, int index);
extern void *RADEONEXACreatePixmap(ScreenPtr pScreen, int size, int align);
+extern void *RADEONEXACreatePixmap2(ScreenPtr pScreen, int width, int height,
+ int depth, int usage_hint, int bitsPerPixel,
+ int *new_pitch);
extern void RADEONEXADestroyPixmap(ScreenPtr pScreen, void *driverPriv);
extern struct radeon_bo *radeon_get_pixmap_bo(PixmapPtr pPix);
extern Bool RADEONEXAPixmapIsOffscreen(PixmapPtr pPix);