Add check reset function for msvdx firmware
authorDaniel Charles <daniel.charles@intel.com>
Fri, 16 Mar 2012 15:39:37 +0000 (08:39 -0700)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jul 2012 09:30:35 +0000 (12:30 +0300)
commit075fd7e05b04e7eaf4aa0a26ccf5394461e15152
tree330f907698e72b81b307a318d852f02363d42e6b
parentf8a9dc88eddf85404318da82720f05a162444163
Add check reset function for msvdx firmware

When fence lockup is triggered by the msvdx firmware, it reaches an
unrecoverable state that requires a firmware reload so that it can
continue operating without resetting the device.

This scenario is seen when playing some corrupted media clips which
cause the media stack to fail.

Once the firmware is reloaded it will continue decoding when possible
and next attempts to play will be successful

Issue: ANDROID-2031
Reviewed-by: Sean V Kelley <sean.v.kelley@intel.com>
Signed-off-by: Daniel Charles <daniel.charles@intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
drivers/staging/mrst/drv/psb_sgx.c
drivers/staging/mrst/imgv/psb_msvdx.c
drivers/staging/mrst/imgv/psb_msvdx.h