diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-08-05 17:26:28 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2010-08-05 17:36:36 -0400 |
commit | b5bfdbd70d9671250957ccd41dfc8818850d257e (patch) | |
tree | 315fb46fde7773a628ad0b301a27278b48ff65a8 /src/r600_exa.c | |
parent | a3c59c6f6be7067421e348142da0ca13428dcd57 (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_exa.c')
-rw-r--r-- | src/r600_exa.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/r600_exa.c b/src/r600_exa.c index 638bd382..911dba08 100644 --- a/src/r600_exa.c +++ b/src/r600_exa.c @@ -2151,6 +2151,9 @@ R600DrawInit(ScreenPtr pScreen) info->accel_state->exa->FinishAccess = RADEONFinishAccess_CS; info->accel_state->exa->UploadToScreen = R600UploadToScreenCS; info->accel_state->exa->DownloadFromScreen = R600DownloadFromScreenCS; +#if (EXA_VERSION_MAJOR == 2 && EXA_VERSION_MINOR >= 5) + info->accel_state->exa->CreatePixmap2 = RADEONEXACreatePixmap2; +#endif } else #endif #endif |