diff --git a/src/i965_post_processing.c b/src/i965_post_processing.c index 8999266..1a307af 100755 --- a/src/i965_post_processing.c +++ b/src/i965_post_processing.c @@ -4817,13 +4817,12 @@ i965_vpp_clear_surface(VADriverContextP ctx, br13 |= BR13_8; br13 |= pitch; - if (IS_GEN6(i965->intel.device_info) || - IS_GEN7(i965->intel.device_info)) { - intel_batchbuffer_start_atomic_blt(batch, 48); - BEGIN_BLT_BATCH(batch, 12); - } else { + if (IS_IRONLAKE(i965->intel.device_info)) { intel_batchbuffer_start_atomic(batch, 48); BEGIN_BATCH(batch, 12); + } else { + intel_batchbuffer_start_atomic_blt(batch, 48); + BEGIN_BLT_BATCH(batch, 12); } region_width = obj_surface->width;