Fix map/unmap mismatches
authorXiang, Haihao <haihao.xiang@intel.com>
Thu, 1 Mar 2012 04:57:21 +0000 (12:57 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Thu, 1 Mar 2012 04:57:21 +0000 (12:57 +0800)
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
src/i965_post_processing.c

index e8c320d..ab063e9 100644 (file)
@@ -2007,8 +2007,6 @@ gen7_pp_plx_avs_initialize(VADriverContextP ctx, struct i965_post_processing_con
                       sizeof(*sampler_8x8) * index + offsetof(struct i965_sampler_8x8, dw1),
                       pp_context->sampler_state_table.bo_8x8);
 
-    dri_bo_unmap(pp_context->sampler_state_table.bo);
-
     /* sampler_8x8 V, index 12 */
     index = 12;
     memset(&sampler_8x8[index], 0, sizeof(*sampler_8x8));