diff options
Diffstat (limited to 'src/sna/sna_video_hwmc.c')
-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 52f1560b..2a9fd065 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 = DEVICE_ID(sna->PciInfo) == PCI_CHIP_I965_Q; + priv->i965.is_965_q = sna->PciInfo->device_id == PCI_CHIP_I965_Q; priv->i965.is_igdng = sna->kgem.gen == 050; } else priv->type = XVMC_I915_MPEG2_MC; |