summaryrefslogtreecommitdiff
path: root/src/gen8_mfd.c
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2015-02-02 09:11:21 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2015-02-03 14:15:57 +0800
commit44ed84c6fda3bb9f958a4de9304c3f4d86516b93 (patch)
tree27c2eec7d3b78c57191da85f9ec5a9cea98916cd /src/gen8_mfd.c
parent4307780b648245aba4ff338dcfe0172dec2e12e9 (diff)
downloadlibva-intel-driver-44ed84c6fda3bb9f958a4de9304c3f4d86516b93.tar.gz
Disable upper bound check for decoding on BDW+
We saw pixel corruption in stress test with the wrong up-bound address. For simplicity, disable upper bound check in the driver. Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Tested-by: Zhao Yakui <yakui.zhao@intel.com> Reviewed-by: Sean V Kelley <sean.v.kelley@intel.com>
Diffstat (limited to 'src/gen8_mfd.c')
-rw-r--r--src/gen8_mfd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gen8_mfd.c b/src/gen8_mfd.c
index 5a802f5f..a5cedd69 100644
--- a/src/gen8_mfd.c
+++ b/src/gen8_mfd.c
@@ -282,7 +282,7 @@ gen8_mfd_ind_obj_base_addr_state(VADriverContextP ctx,
OUT_BCS_BATCH(batch, 0);
OUT_BCS_BATCH(batch, 0);
/* Upper bound 4-5 */
- OUT_BCS_BATCH(batch, 0x80000000); /* must set, up to 2G */
+ OUT_BCS_BATCH(batch, 0);
OUT_BCS_BATCH(batch, 0);
/* MFX indirect MV 6-10 */
@@ -2493,7 +2493,7 @@ gen8_jpeg_wa_ind_obj_base_addr_state(VADriverContextP ctx,
gen7_mfd_context->jpeg_wa_slice_data_bo,
I915_GEM_DOMAIN_INSTRUCTION, 0,
0);
- OUT_BCS_BATCH(batch, 0x80000000); /* must set, up to 2G */
+ OUT_BCS_BATCH(batch, 0);
OUT_BCS_BATCH(batch, 0); /* ignore for VLD mode */
OUT_BCS_BATCH(batch, 0);
OUT_BCS_BATCH(batch, 0); /* ignore for VLD mode */