• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/intel-driver


Commit MetaInfo

Révisionbcdfd5a91cc23b95cd6c50d1f3908112321dc907 (tree)
l'heure2014-12-14 01:26:32
AuteurZhao Yakui <yakui.zhao@inte...>
CommiterXiang, Haihao

Message de Log

Media/SKL: Follow the spec to add the pipeline_selection mask for media pipeline

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
(cherry picked from commit 79f35e7cb2a98168cc50fcda1fb83fb18c25ee53)

Change Summary

Modification

--- a/src/i965_gpe_utils.c
+++ b/src/i965_gpe_utils.c
@@ -1268,6 +1268,17 @@ gen9_gpe_state_base_address(VADriverContextP ctx,
12681268 ADVANCE_BATCH(batch);
12691269 }
12701270
1271+static void
1272+gen9_gpe_select(VADriverContextP ctx,
1273+ struct i965_gpe_context *gpe_context,
1274+ struct intel_batchbuffer *batch)
1275+{
1276+ BEGIN_BATCH(batch, 1);
1277+ OUT_BATCH(batch, CMD_PIPELINE_SELECT | PIPELINE_SELECT_MEDIA |
1278+ GEN9_PIPELINE_SELECTION_MASK);
1279+ ADVANCE_BATCH(batch);
1280+}
1281+
12711282 void
12721283 gen9_gpe_pipeline_setup(VADriverContextP ctx,
12731284 struct i965_gpe_context *gpe_context,
@@ -1275,7 +1286,7 @@ gen9_gpe_pipeline_setup(VADriverContextP ctx,
12751286 {
12761287 intel_batchbuffer_emit_mi_flush(batch);
12771288
1278- i965_gpe_select(ctx, gpe_context, batch);
1289+ gen9_gpe_select(ctx, gpe_context, batch);
12791290 gen9_gpe_state_base_address(ctx, gpe_context, batch);
12801291 gen8_gpe_vfe_state(ctx, gpe_context, batch);
12811292 gen8_gpe_curbe_load(ctx, gpe_context, batch);