summaryrefslogtreecommitdiff
path: root/lib/media_fill.h
diff options
context:
space:
mode:
authorSean V Kelley <sean.v.kelley@intel.com>2014-08-05 13:53:49 -0700
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-08-06 18:04:14 +0200
commit17d63e49685ac51d62ba2dba80167de96e1b6c5f (patch)
tree859a75cf779d8a0592eef7d7343baa741be25984 /lib/media_fill.h
parentac31f19264d45df63fdd6591d66ae57060d1ee5e (diff)
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>
Diffstat (limited to 'lib/media_fill.h')
-rw-r--r--lib/media_fill.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/media_fill.h b/lib/media_fill.h
index d417c75a..ca35aeb4 100644
--- a/lib/media_fill.h
+++ b/lib/media_fill.h
@@ -18,4 +18,11 @@ gen7_media_fillfunc(struct intel_batchbuffer *batch,
unsigned width, unsigned height,
uint8_t color);
+void
+gen8lp_media_fillfunc(struct intel_batchbuffer *batch,
+ struct igt_buf *dst,
+ unsigned x, unsigned y,
+ unsigned width, unsigned height,
+ uint8_t color);
+
#endif /* RENDE_MEDIA_FILL_H */