From f897d88b0e1f7b0726ed8f936bb132669d5992a4 Mon Sep 17 00:00:00 2001 From: "Xiang, Haihao" Date: Fri, 10 Feb 2012 14:08:23 +0800 Subject: [PATCH] Fix the address of the surface state for vme output buffer Signed-off-by: Xiang, Haihao --- src/gen6_vme.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gen6_vme.c b/src/gen6_vme.c index 41c64ae..04432d2 100644 --- a/src/gen6_vme.c +++ b/src/gen6_vme.c @@ -517,7 +517,6 @@ gen7_vme_output_buffer_setup(VADriverContextP ctx, assert(bo->virtual); ss = (struct gen7_surface_state *)((char *)bo->virtual + SURFACE_STATE_OFFSET(index)); - ss = bo->virtual; memset(ss, 0, sizeof(*ss)); /* always use 16 bytes as pitch on Sandy Bridge */ -- 2.7.4