mpeg2: calculate the slice data length on IVB
authorXiang, Haihao <haihao.xiang@intel.com>
Mon, 26 May 2014 02:14:53 +0000 (10:14 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Fri, 6 Jun 2014 04:46:06 +0000 (12:46 +0800)
commitb44240a8b01199e75f39ad2ba42a757ef5f51fcc
treefc4711afd6bab0a8bccb6c6fc630555828fd2e82
parentdfffd00a85aec108862bfcdbf537cc360dcca483
mpeg2: calculate the slice data length on IVB

Sometimes pending datas are added in slice data buffer, however
HW requires slice data length excludes pending datas, otherwise
the behavior is undefined

https://bugs.freedesktop.org/show_bug.cgi?id=77041

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit a9004e6c5c7f33cd1e33e4dab92a5a0017714bbd)
src/gen7_mfd.c