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:
Zhao Yakui 2014-02-11 10:48:45 +08:00 committed by Damien Lespiau
parent 17371958db
commit 54465b8ac5
2 changed files with 5 additions and 1 deletions

View File

@ -371,4 +371,7 @@ struct gen8_surface_state
} ss15;
};
#define GEN9_PIPELINE_SELECTION_MASK (3 << 8)
#endif /* GEN8_MEDIA_H */

View File

@ -362,7 +362,8 @@ gen9_media_fillfunc(struct intel_batchbuffer *batch,
/* media pipeline */
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);
gen8_emit_vfe_state(batch);