Update the size of DMV buffer for H.264 decoding on IVB
authorXiang, Haihao <haihao.xiang@intel.com>
Fri, 22 Feb 2013 05:56:04 +0000 (13:56 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Fri, 22 Feb 2013 06:06:56 +0000 (14:06 +0800)
commitb3139d1a278d9daac40987f0a99c2a797c0db988
tree13eb991af88d82e58d9969231546ba7ed4564ed8
parentf6ec762eab4e602a0644e9f17ce97dab34bf512f
Update the size of DMV buffer for H.264 decoding on IVB

It is at least width_in_mbs * align(height_in_mbs, 2) * 64.
Use width_in_mbs * (height_in_mbs + 1) * 64 in the driver.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59050
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 00f65b78e6de520a4820702207ce098c6b073724)
src/gen7_mfd.c