lib/chv: CHV media pipeline command sequence
authorSean V Kelley <sean.v.kelley@intel.com>
Tue, 5 Aug 2014 20:53:49 +0000 (13:53 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 6 Aug 2014 16:04:14 +0000 (18:04 +0200)
commit17d63e49685ac51d62ba2dba80167de96e1b6c5f
tree859a75cf779d8a0592eef7d7343baa741be25984
parentac31f19264d45df63fdd6591d66ae57060d1ee5e
lib/chv: CHV media pipeline command sequence

Enable gem_media_fill test for CHV platform.  In addition to differences in
media IP blocks from Broadwell, the command sequence also differs for
programming the media pipeline, e.g., should not send a MEDIA_STATE_FLUSH
right before the MI_BATCH_BUFFER_END of batch buffers using MEDIA_OBJECT.
Uses explicit IS_BROADWELL / IS_CHERRYVIEW to distinguish in gen8 media
fill handling.

Signed-off-by: Sean V Kelley <sean.v.kelley@intel.com>
Reviewed-by: Xiang, Haihao <haihao.xiang@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
lib/Makefile.sources
lib/intel_batchbuffer.c
lib/media_fill.h
lib/media_fill_gen8lp.c [new file with mode: 0644]