sna/gen7: Use GT2 values for GT2 variants

The check was only testing for GT2+ and excluding the normal GT2
devices. See also

commit ce9f044836
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>
This commit is contained in:
Chris Wilson 2013-03-26 20:37:14 +00:00
parent 3dddb01005
commit 235a3981ea
1 changed files with 1 additions and 1 deletions

View File

@ -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)