summaryrefslogtreecommitdiff
path: root/src/i915_hwmc.c
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyu.z.wang@intel.com>2007-12-20 12:51:06 +0800
committerZhenyu Wang <zhenyu.z.wang@intel.com>2007-12-20 12:51:06 +0800
commit5f961f28310a1cd19967df2034b0452bf4446394 (patch)
tree4a2fef461034c57f1aa4d0fbc69e4b51d9bb1a98 /src/i915_hwmc.c
parent73827e78357ab3f30a21f159ecdfb26dd0ea889b (diff)
xvmc: move dri context handling to generic code
Use XvMCContext's context_id for dri context handling instead of driver private id. Remove unnecessary field for i915 private structs.
Diffstat (limited to 'src/i915_hwmc.c')
-rw-r--r--src/i915_hwmc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/i915_hwmc.c b/src/i915_hwmc.c
index 262c63bd..e41d148d 100644
--- a/src/i915_hwmc.c
+++ b/src/i915_hwmc.c
@@ -501,7 +501,6 @@ static int i915_xvmc_create_context (ScrnInfoPtr pScrn, XvMCContextPtr pContext,
contextRec->corrdata.offset = ctxpriv->mcCorrdata->offset;
contextRec->corrdata.size = ctxpriv->mcCorrdata->size;
contextRec->sarea_priv_offset = sizeof(XF86DRISAREARec);
- contextRec->depth = pScrn->bitsPerPixel;
contextRec->deviceID = pI830DRI->deviceID;
pXvMC->ncontexts++;