summaryrefslogtreecommitdiff
path: root/src/sna/sna_render.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-07-14 12:14:28 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-07-14 12:14:28 +0100
commit39845280b5a9d0ed60c6a158c3d0df9fb8756d40 (patch)
tree1a0737488bb85188ab9c07a1d6e01d3b17c16ae9 /src/sna/sna_render.c
parentb260ca44b3aaba2c8cd25640ad7ac9ca6478b0f2 (diff)
sna: Allow BLT support on future unknown hardware
Assume that if the kernel recognises the chipset and declares it has a BLT, we can use it. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_render.c')
-rw-r--r--src/sna/sna_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_render.c b/src/sna/sna_render.c
index 02727a32..dcfab910 100644
--- a/src/sna/sna_render.c
+++ b/src/sna/sna_render.c
@@ -283,7 +283,7 @@ void no_render_init(struct sna *sna)
sna->kgem.context_switch = no_render_context_switch;
sna->kgem.retire = no_render_retire;
sna->kgem.expire = no_render_expire;
- if (sna->kgem.gen >= 60)
+ if (sna->kgem.has_blt)
sna->kgem.ring = KGEM_BLT;
}