summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-03-26 20:37:14 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-03-27 11:57:10 +0000
commit235a3981ea9759317b392302a2b2b8f4fafab410 (patch)
treea5cf7e3f07892576650f16cea458585c88024041
parent3dddb01005274376c8cdc5eecad36d4e0723004a (diff)
sna/gen7: Use GT2 values for GT2 variants
The check was only testing for GT2+ and excluding the normal GT2 devices. See also commit ce9f0448367ea6a90490a28150bfdc0a76500129 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Fri Feb 8 16:01:54 2013 +0000 sna/gen6: Use GT2 settings for both GT2 and GT2+ Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/gen7_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/gen7_render.c b/src/sna/gen7_render.c
index 80fa872e..b95399d5 100644
--- a/src/sna/gen7_render.c
+++ b/src/sna/gen7_render.c
@@ -3684,7 +3684,7 @@ static void gen7_render_fini(struct sna *sna)
static bool is_gt2(struct sna *sna)
{
- return DEVICE_ID(sna->PciInfo) & 0x20;
+ return DEVICE_ID(sna->PciInfo) & 0x30;
}
static bool is_mobile(struct sna *sna)