diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-02-13 15:11:45 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-02-13 15:11:45 +0000 |
commit | 9861423a76402c260724a752ada293a03ce1a79b (patch) | |
tree | 91d05d4c9d742ead648aa356e43924753ad7ca56 /src | |
parent | 38a3506aa1c9c2e07125b54fc319b6de89febff9 (diff) |
sna/dri: Fix typo limiting gen4 to TILING_X depth buffers
Fixes regression from
commit 98b312e579385e6e4adf6bf0abe20f8ca84592af
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date: Wed Jan 23 20:51:35 2013 +0000
sna/dri: Stop feeding I915_TILING_Y to mesa i915c
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=60178
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r-- | src/sna/sna_dri.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_dri.c b/src/sna/sna_dri.c index 9310e982..7fea15f3 100644 --- a/src/sna/sna_dri.c +++ b/src/sna/sna_dri.c @@ -147,7 +147,7 @@ static uint32_t other_tiling(struct sna *sna, DrawablePtr draw) { /* XXX Can mix color X / depth Y? */ return kgem_choose_tiling(&sna->kgem, - sna->kgem.gen >=40 ? -I915_TILING_Y : -I915_TILING_X, + sna->kgem.gen >= 040 ? -I915_TILING_Y : -I915_TILING_X, draw->width, draw->height, draw->bitsPerPixel); |