diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-07-26 10:14:11 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-07-28 14:49:07 +0100 |
commit | a12c352b56e742b8f8aca4d8ca9efa26f268817b (patch) | |
tree | 253c33a212c3a1d0fa8c29d97736b9fb64e5d8cc /src/sna/gen5_render.c | |
parent | e94f66c951ae9e0d4304cf8005537a147bda5d79 (diff) |
intel: Remove some unused macros
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen5_render.c')
-rw-r--r-- | src/sna/gen5_render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/gen5_render.c b/src/sna/gen5_render.c index ef9d7f47..9b469f39 100644 --- a/src/sna/gen5_render.c +++ b/src/sna/gen5_render.c @@ -3338,7 +3338,7 @@ const char *gen5_render_init(struct sna *sna, const char *backend) #if !NO_COMPOSITE_SPANS sna->render.check_composite_spans = gen5_check_composite_spans; sna->render.composite_spans = gen5_render_composite_spans; - if (DEVICE_ID(sna->PciInfo) == 0x0044) + if (sna->PciInfo->device_id == 0x0044) sna->render.prefer_gpu |= PREFER_GPU_SPANS; #endif sna->render.video = gen5_render_video; |