The block mask workaround is only available for Sandy bridge
authorXiang, Haihao <haihao.xiang@intel.com>
Wed, 12 Sep 2012 07:27:46 +0000 (03:27 -0400)
committerXiang, Haihao <haihao.xiang@intel.com>
Wed, 12 Sep 2012 07:31:21 +0000 (03:31 -0400)
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
src/i965_post_processing.c

index 5c5098a..b1cc34c 100755 (executable)
@@ -3911,7 +3911,8 @@ gen6_pp_object_walker(VADriverContextP ctx,
         for (x = 0; x < x_steps; x++) {
             if (!pp_context->pp_set_block_parameter(pp_context, x, y)) {
                 // some common block parameter update goes here, apply to all pp functions
-                update_block_mask_parameter (pp_context, x, y, x_steps, y_steps);
+                if (IS_GEN6(i965->intel.device_id))
+                    update_block_mask_parameter (pp_context, x, y, x_steps, y_steps);
                 
                 *command_ptr++ = (CMD_MEDIA_OBJECT | (command_length_in_dws - 2));
                 *command_ptr++ = 0;