hardware/intel/intel-driver
Révision | 6f2ea35f5caaf39e81617e7087f20f4885b51985 (tree) |
---|---|
l'heure | 2015-09-09 13:42:14 |
Auteur | Lim Siew Hoon <siew.hoon.lim@inte...> |
Commiter | Xiang, Haihao |
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>
@@ -593,7 +593,7 @@ static void gen75_vme_pipeline_programing(VADriverContextP ctx, | ||
593 | 593 | } |
594 | 594 | |
595 | 595 | if ((pSliceParameter->slice_type == SLICE_TYPE_I) || |
596 | - (pSliceParameter->slice_type == SLICE_TYPE_I)) { | |
596 | + (pSliceParameter->slice_type == SLICE_TYPE_SI)) { | |
597 | 597 | kernel_shader = VME_INTRA_SHADER; |
598 | 598 | } else if ((pSliceParameter->slice_type == SLICE_TYPE_P) || |
599 | 599 | (pSliceParameter->slice_type == SLICE_TYPE_SP)) { |
@@ -615,7 +615,7 @@ static void gen7_vme_pipeline_programing(VADriverContextP ctx, | ||
615 | 615 | } |
616 | 616 | |
617 | 617 | if ((pSliceParameter->slice_type == SLICE_TYPE_I) || |
618 | - (pSliceParameter->slice_type == SLICE_TYPE_I)) { | |
618 | + (pSliceParameter->slice_type == SLICE_TYPE_SI)) { | |
619 | 619 | kernel_shader = AVC_VME_INTRA_SHADER; |
620 | 620 | } else if ((pSliceParameter->slice_type == SLICE_TYPE_P) || |
621 | 621 | (pSliceParameter->slice_type == SLICE_TYPE_SP)) { |
@@ -666,7 +666,7 @@ static void gen8_vme_pipeline_programing(VADriverContextP ctx, | ||
666 | 666 | } |
667 | 667 | |
668 | 668 | if ((pSliceParameter->slice_type == SLICE_TYPE_I) || |
669 | - (pSliceParameter->slice_type == SLICE_TYPE_I)) { | |
669 | + (pSliceParameter->slice_type == SLICE_TYPE_SI)) { | |
670 | 670 | kernel_shader = VME_INTRA_SHADER; |
671 | 671 | } else if ((pSliceParameter->slice_type == SLICE_TYPE_P) || |
672 | 672 | (pSliceParameter->slice_type == SLICE_TYPE_SP)) { |
@@ -710,7 +710,7 @@ static void gen9_vme_pipeline_programing(VADriverContextP ctx, | ||
710 | 710 | } |
711 | 711 | |
712 | 712 | if ((pSliceParameter->slice_type == SLICE_TYPE_I) || |
713 | - (pSliceParameter->slice_type == SLICE_TYPE_I)) { | |
713 | + (pSliceParameter->slice_type == SLICE_TYPE_SI)) { | |
714 | 714 | kernel_shader = VME_INTRA_SHADER; |
715 | 715 | } else if ((pSliceParameter->slice_type == SLICE_TYPE_P) || |
716 | 716 | (pSliceParameter->slice_type == SLICE_TYPE_SP)) { |