From 918f26fc0c5c38fb8c1002dd48c857897931c5d5 Mon Sep 17 00:00:00 2001 From: "Xiang, Haihao" Date: Thu, 1 Mar 2012 12:57:21 +0800 Subject: [PATCH] Fix map/unmap mismatches Signed-off-by: Xiang, Haihao --- src/i965_post_processing.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/i965_post_processing.c b/src/i965_post_processing.c index e8c320d..ab063e9 100644 --- a/src/i965_post_processing.c +++ b/src/i965_post_processing.c @@ -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)); -- 2.7.4