mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-09 00:46:17 +00:00
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>
29 lines
680 B
C
29 lines
680 B
C
#ifndef RENDE_MEDIA_FILL_H
|
|
#define RENDE_MEDIA_FILL_H
|
|
|
|
#include <stdint.h>
|
|
#include "intel_batchbuffer.h"
|
|
|
|
void
|
|
gen8_media_fillfunc(struct intel_batchbuffer *batch,
|
|
struct igt_buf *dst,
|
|
unsigned x, unsigned y,
|
|
unsigned width, unsigned height,
|
|
uint8_t color);
|
|
|
|
void
|
|
gen7_media_fillfunc(struct intel_batchbuffer *batch,
|
|
struct igt_buf *dst,
|
|
unsigned x, unsigned y,
|
|
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 */
|