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/drmmode_display.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/drmmode_display.c')
-rw-r--r-- | src/drmmode_display.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c index e2d516b4..6a4a32d1 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -1101,8 +1101,11 @@ drmmode_xf86crtc_resize (ScrnInfoPtr scrn, int width, int height) if (!info->front_bo) goto fail; - if (info->allowColorTiling) - tiling_flags |= RADEON_TILING_MACRO; + /* no tiled scanout on r6xx+ yet */ + if (info->allowColorTiling) { + if (info->ChipFamily < CHIP_FAMILY_R600) + tiling_flags |= RADEON_TILING_MACRO; + } #if X_BYTE_ORDER == X_BIG_ENDIAN switch (cpp) { case 4: |