• 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évision6f2ea35f5caaf39e81617e7087f20f4885b51985 (tree)
l'heure2015-09-09 13:42:14
AuteurLim Siew Hoon <siew.hoon.lim@inte...>
CommiterXiang, Haihao

Message de Log

Fix if issue of SLICE_TYPE_I statement in vme_pipeline_programing

Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
Reviewed-by: Zhao, Yakui <yakui.zhao@intel.com>

Change Summary

Modification

--- a/src/gen75_vme.c
+++ b/src/gen75_vme.c
@@ -593,7 +593,7 @@ static void gen75_vme_pipeline_programing(VADriverContextP ctx,
593593 }
594594
595595 if ((pSliceParameter->slice_type == SLICE_TYPE_I) ||
596- (pSliceParameter->slice_type == SLICE_TYPE_I)) {
596+ (pSliceParameter->slice_type == SLICE_TYPE_SI)) {
597597 kernel_shader = VME_INTRA_SHADER;
598598 } else if ((pSliceParameter->slice_type == SLICE_TYPE_P) ||
599599 (pSliceParameter->slice_type == SLICE_TYPE_SP)) {
--- a/src/gen7_vme.c
+++ b/src/gen7_vme.c
@@ -615,7 +615,7 @@ static void gen7_vme_pipeline_programing(VADriverContextP ctx,
615615 }
616616
617617 if ((pSliceParameter->slice_type == SLICE_TYPE_I) ||
618- (pSliceParameter->slice_type == SLICE_TYPE_I)) {
618+ (pSliceParameter->slice_type == SLICE_TYPE_SI)) {
619619 kernel_shader = AVC_VME_INTRA_SHADER;
620620 } else if ((pSliceParameter->slice_type == SLICE_TYPE_P) ||
621621 (pSliceParameter->slice_type == SLICE_TYPE_SP)) {
--- a/src/gen8_vme.c
+++ b/src/gen8_vme.c
@@ -666,7 +666,7 @@ static void gen8_vme_pipeline_programing(VADriverContextP ctx,
666666 }
667667
668668 if ((pSliceParameter->slice_type == SLICE_TYPE_I) ||
669- (pSliceParameter->slice_type == SLICE_TYPE_I)) {
669+ (pSliceParameter->slice_type == SLICE_TYPE_SI)) {
670670 kernel_shader = VME_INTRA_SHADER;
671671 } else if ((pSliceParameter->slice_type == SLICE_TYPE_P) ||
672672 (pSliceParameter->slice_type == SLICE_TYPE_SP)) {
--- a/src/gen9_vme.c
+++ b/src/gen9_vme.c
@@ -710,7 +710,7 @@ static void gen9_vme_pipeline_programing(VADriverContextP ctx,
710710 }
711711
712712 if ((pSliceParameter->slice_type == SLICE_TYPE_I) ||
713- (pSliceParameter->slice_type == SLICE_TYPE_I)) {
713+ (pSliceParameter->slice_type == SLICE_TYPE_SI)) {
714714 kernel_shader = VME_INTRA_SHADER;
715715 } else if ((pSliceParameter->slice_type == SLICE_TYPE_P) ||
716716 (pSliceParameter->slice_type == SLICE_TYPE_SP)) {