Allow to create batchbuffer based on the expected buffer size
authorZhao Yakui <yakui.zhao@intel.com>
Wed, 31 Oct 2012 08:47:57 +0000 (16:47 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Wed, 31 Oct 2012 14:04:07 +0000 (22:04 +0800)
commitfb0bef337776499a1ab1926f27fd25ecd5971c5e
tree98594fcd7488f5efde37e3a0410cab5a973bda5c
parent264c88a77f5794ae0b4bd886468cc7aa695c6f6b
Allow to create batchbuffer based on the expected buffer size

This is to support the 4Kx4K encoding on Haswell. Otherwise the default batch
buffer size can't hold the encoding command for 4Kx4K encoding.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
12 files changed:
src/gen6_mfc.c
src/gen6_mfd.c
src/gen75_mfc.c
src/gen75_mfd.c
src/gen75_vpp_vebox.c
src/gen7_mfd.c
src/i965_drv_video.c
src/i965_encoder.c
src/i965_media.c
src/i965_post_processing.c
src/intel_batchbuffer.c
src/intel_batchbuffer.h