OUT_BCS_RELOC(ctx, i965_h264_context->avc_it_data.bo,
I915_GEM_DOMAIN_INSTRUCTION, I915_GEM_DOMAIN_INSTRUCTION,
(i965_h264_context->avc_it_data.write_offset << 6));
- OUT_BCS_RELOC(ctx, i965_avc_bsd_context->ildb_data.bo,
+ OUT_BCS_RELOC(ctx, i965_h264_context->avc_ildb_data.bo,
I915_GEM_DOMAIN_INSTRUCTION, I915_GEM_DOMAIN_INSTRUCTION,
0);
64);
assert(bo);
i965_avc_bsd_context->mpr_row_store.bo = bo;
-
- dri_bo_unreference(i965_avc_bsd_context->ildb_data.bo);
- bo = dri_bo_alloc(i965->intel.bufmgr,
- "ildb data",
- 0x100000, /* at least 1044480 bytes */
- 64);
- assert(bo);
- i965_avc_bsd_context->ildb_data.bo = bo;
}
Bool
{
dri_bo_unreference(i965_avc_bsd_context->bsd_raw_store.bo);
dri_bo_unreference(i965_avc_bsd_context->mpr_row_store.bo);
- dri_bo_unreference(i965_avc_bsd_context->ildb_data.bo);
return True;
}
dri_bo_reference(media_state->indirect_object.bo);
media_state->indirect_object.offset = i965_h264_context->avc_it_data.write_offset;
+ dri_bo_unreference(i965_h264_context->avc_ildb_data.bo);
+ bo = dri_bo_alloc(i965->intel.bufmgr,
+ "AVC-ILDB Data Buffer",
+ 0x100000, /* at least 1044480 bytes */
+ 64);
+ assert(bo);
+ i965_h264_context->avc_ildb_data.bo = bo;
+
/* bsd pipeline */
i965_avc_bsd_decode_init(ctx);
i965_avc_bsd_ternimate(&i965_h264_context->i965_avc_bsd_context);
dri_bo_unreference(i965_h264_context->avc_it_command_mb_info.bo);
dri_bo_unreference(i965_h264_context->avc_it_data.bo);
+ dri_bo_unreference(i965_h264_context->avc_ildb_data.bo);
free(i965_h264_context);
media_state->private_context = NULL;
}