Add phantom slice support on IVB+
authorZhong Li <zhong.li@intel.com>
Wed, 27 Aug 2014 07:04:49 +0000 (01:04 -0600)
committerZhao, Yakui <yakui.zhao@intel.com>
Fri, 5 Sep 2014 02:43:57 +0000 (10:43 +0800)
commit812d8d039031bf20e66748a39edcdb8f9c798ec4
tree7b09063b60129ce8569d87e9eb765320ace8f283
parent242fb4fcb8aa7300ee47400a6c2784610e5d4a6a
Add phantom slice support on IVB+

HW requires driver to add a phantom slice when FirstMbX and FirstMbY are
not 0, in order to avc decoding error concealment. Otherwise, GPU may hang.
This patch is a workround for bug: https://bugs.freedesktop.org/show_bug.cgi?id=81447

v1->v2: Follow haihao's suggestion to use common funcion of gen6 phantom slice.
v2->v3: Remove an extraneous newline.

Signed-off-by: Zhong Li <zhong.li@intel.com>
Reviewed-by: Xiang Haihao <haihao.xiang@intel.com>
             Gwenole Beauchesne <gwenole.beauchesne@intel.com>
(cherry picked from commit 9672c5ab17c32f25ce1bbdb883abda689440b116)
src/gen75_mfd.c
src/gen7_mfd.c
src/gen8_mfd.c