mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 01:16:18 +00:00
mediafill/skl: Follow the spec to add pipeline_select mask
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> Signed-off-by: Ben Widawsky <benjamin.widawsky@intel.com> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
parent
17371958db
commit
54465b8ac5
@ -371,4 +371,7 @@ struct gen8_surface_state
|
|||||||
} ss15;
|
} ss15;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
#define GEN9_PIPELINE_SELECTION_MASK (3 << 8)
|
||||||
|
|
||||||
#endif /* GEN8_MEDIA_H */
|
#endif /* GEN8_MEDIA_H */
|
||||||
|
@ -362,7 +362,8 @@ gen9_media_fillfunc(struct intel_batchbuffer *batch,
|
|||||||
|
|
||||||
/* media pipeline */
|
/* media pipeline */
|
||||||
batch->ptr = batch->buffer;
|
batch->ptr = batch->buffer;
|
||||||
OUT_BATCH(GEN8_PIPELINE_SELECT | PIPELINE_SELECT_MEDIA);
|
OUT_BATCH(GEN8_PIPELINE_SELECT | PIPELINE_SELECT_MEDIA |
|
||||||
|
GEN9_PIPELINE_SELECTION_MASK);
|
||||||
gen9_emit_state_base_address(batch);
|
gen9_emit_state_base_address(batch);
|
||||||
|
|
||||||
gen8_emit_vfe_state(batch);
|
gen8_emit_vfe_state(batch);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user