Fix the address of the surface state for vme output buffer
authorXiang, Haihao <haihao.xiang@intel.com>
Fri, 10 Feb 2012 06:08:23 +0000 (14:08 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Fri, 10 Feb 2012 06:14:09 +0000 (14:14 +0800)
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
src/gen6_vme.c

index 41c64ae..04432d2 100644 (file)
@@ -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 */