• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

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

hardware/intel/intel-driver


コミットメタ情報

リビジョン8e8d5487b09cd1d8f421e3147d671c4c35fdb039 (tree)
日時2015-09-06 16:13:57
作者Xiang, Haihao <haihao.xiang@inte...>
コミッターXiang, Haihao

ログメッセージ

encode/hevc: fix HEVC encode on SKL GT3

GT3 has 2 BSD rings, but HEVC commands can be only dispatched to BSD ring 0.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
(cherry picked from commit 611d8ea9d75dc026c203e3ebe53b434769d4587c)

変更サマリ

差分

--- a/src/gen9_mfc_hevc.c
+++ b/src/gen9_mfc_hevc.c
@@ -1783,6 +1783,7 @@ gen9_hcpe_hevc_pipeline_programing(VADriverContextP ctx,
17831783 struct encode_state *encode_state,
17841784 struct intel_encoder_context *encoder_context)
17851785 {
1786+ struct i965_driver_data *i965 = i965_driver_data(ctx);
17861787 struct intel_batchbuffer *batch = encoder_context->base.batch;
17871788 dri_bo *slice_batch_bo;
17881789
@@ -1793,7 +1794,10 @@ gen9_hcpe_hevc_pipeline_programing(VADriverContextP ctx,
17931794 #endif
17941795
17951796 // begin programing
1796- intel_batchbuffer_start_atomic_bcs(batch, 0x4000);
1797+ if (i965->intel.has_bsd2)
1798+ intel_batchbuffer_start_atomic_bcs_override(batch, 0x4000, BSD_RING0);
1799+ else
1800+ intel_batchbuffer_start_atomic_bcs(batch, 0x4000);
17971801 intel_batchbuffer_emit_mi_flush(batch);
17981802
17991803 // picture level programing