diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-07-26 10:07:23 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-07-28 14:49:07 +0100 |
commit | e94f66c951ae9e0d4304cf8005537a147bda5d79 (patch) | |
tree | 182721d9d3eed7f31a9840e04ba6d2f273e71be8 /src/sna | |
parent | 04d5c33b9677fc920ad58522f93d832a42de4744 (diff) |
intel: Move some backend specific macros out of the common header
All the IS_GEN/IS_DEVICE are only used by the UXA backend, so move them
to its headers.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna')
-rw-r--r-- | src/sna/sna_video_hwmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_video_hwmc.c b/src/sna/sna_video_hwmc.c index 15a7844a..52f1560b 100644 --- a/src/sna/sna_video_hwmc.c +++ b/src/sna/sna_video_hwmc.c @@ -86,7 +86,7 @@ static int create_context(XvPortPtr port, XvMCContextPtr ctx, else priv->type = XVMC_I965_MPEG2_MC; priv->i965.is_g4x = sna->kgem.gen == 045; - priv->i965.is_965_q = IS_965_Q(sna); + priv->i965.is_965_q = DEVICE_ID(sna->PciInfo) == PCI_CHIP_I965_Q; priv->i965.is_igdng = sna->kgem.gen == 050; } else priv->type = XVMC_I915_MPEG2_MC; |