diff --git a/src/i965_post_processing.c b/src/i965_post_processing.c index 898ed7b..6521755 100755 --- a/src/i965_post_processing.c +++ b/src/i965_post_processing.c @@ -4566,8 +4566,8 @@ i965_vpp_clear_surface(VADriverContextP ctx, pitch = obj_surface->width; if (tiling != I915_TILING_NONE) { - blt_cmd |= XY_COLOR_BLT_DST_TILED; - pitch >>= 2; + // blt_cmd |= XY_COLOR_BLT_DST_TILED; + // pitch >>= 2; } br13 = 0xf0 << 16; @@ -4606,7 +4606,7 @@ i965_vpp_clear_surface(VADriverContextP ctx, 0 << 16 | 0); OUT_BATCH(batch, - obj_surface->height / 2 << 16 | + ALIGN(obj_surface->height / 2, 32) << 16 | obj_surface->width / 2); OUT_RELOC(batch, obj_surface->bo, I915_GEM_DOMAIN_RENDER, I915_GEM_DOMAIN_RENDER,