mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-15 02:12:59 +00:00
gem_pipe_control_store_loop: BDW update
I've opted to not use the PIPE_CONTROL w/a for now. I am unclear if it is actually required (the test does pass). Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
@@ -112,6 +112,21 @@ intel_batchbuffer_require_space(struct intel_batchbuffer *batch,
|
||||
} \
|
||||
} while(0)
|
||||
|
||||
#define COLOR_BLIT_COPY_BATCH_START(devid, flags) do { \
|
||||
if (intel_gen(devid) >= 8) { \
|
||||
BEGIN_BATCH(8); \
|
||||
OUT_BATCH(MI_NOOP); \
|
||||
OUT_BATCH(XY_COLOR_BLT_CMD_NOLEN | 0x5 | \
|
||||
COLOR_BLT_WRITE_ALPHA | \
|
||||
XY_COLOR_BLT_WRITE_RGB); \
|
||||
} else { \
|
||||
BEGIN_BATCH(6); \
|
||||
OUT_BATCH(XY_COLOR_BLT_CMD_NOLEN | 0x4 | \
|
||||
COLOR_BLT_WRITE_ALPHA | \
|
||||
XY_COLOR_BLT_WRITE_RGB); \
|
||||
} \
|
||||
} while(0)
|
||||
|
||||
#define BLIT_RELOC_UDW(devid) do { \
|
||||
if (intel_gen(devid) >= 8) { \
|
||||
OUT_BATCH(0); \
|
||||
|
||||
Reference in New Issue
Block a user