summaryrefslogtreecommitdiff
path: root/src/sna/gen6_render.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-07-26 10:14:11 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-07-28 14:49:07 +0100
commita12c352b56e742b8f8aca4d8ca9efa26f268817b (patch)
tree253c33a212c3a1d0fa8c29d97736b9fb64e5d8cc /src/sna/gen6_render.c
parente94f66c951ae9e0d4304cf8005537a147bda5d79 (diff)
intel: Remove some unused macros
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen6_render.c')
-rw-r--r--src/sna/gen6_render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/gen6_render.c b/src/sna/gen6_render.c
index 09fdb67a..200406f5 100644
--- a/src/sna/gen6_render.c
+++ b/src/sna/gen6_render.c
@@ -3580,12 +3580,12 @@ static void gen6_render_fini(struct sna *sna)
static bool is_gt2(struct sna *sna)
{
- return DEVICE_ID(sna->PciInfo) & 0x30;
+ return sna->PciInfo->device_id & 0x30;
}
static bool is_mobile(struct sna *sna)
{
- return (DEVICE_ID(sna->PciInfo) & 0xf) == 0x6;
+ return (sna->PciInfo->device_id & 0xf) == 0x6;
}
static bool gen6_render_setup(struct sna *sna)