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>
This commit is contained in:
Sean V Kelley
2014-08-05 13:53:49 -07:00
committed by Daniel Vetter
parent ac31f19264
commit 17d63e4968
4 changed files with 381 additions and 1 deletions
+1
View File
@@ -25,6 +25,7 @@ libintel_tools_la_SOURCES = \
media_fill.h \
media_fill_gen7.c \
media_fill_gen8.c \
media_fill_gen8lp.c \
gen7_media.h \
gen8_media.h \
rendercopy_i915.c \