[Graphics]: Enable the LEX command mode DSTB,CABC, fix the tearing issue
authoryifei.xue <yifeix.xue@intel.com>
Fri, 8 Jun 2012 03:08:14 +0000 (11:08 +0800)
committerbuildbot <buildbot@intel.com>
Thu, 14 Jun 2012 22:17:25 +0000 (15:17 -0700)
commitaa593a544414b0e451234d43de690d2e56ec5a70
tree77b8ab43ee1f69056937d862c751dcb53a2bae7f
parent66974f18f30dc2d2887c5a1f52fb9885b80d18bc
[Graphics]: Enable the LEX command mode DSTB,CABC, fix the tearing issue

BZ: 40910

Enable the LEX command mode DSTB support, add dynamic interface to
control CABC(enable the CABC default).
Disable CABC: echo 0 > /sys/module/gfx/parameters/psb_enable_lex_cabc

The root cause of commad mode tearing is DC writing the panel internal mem with direction
bottom to top while the panel scan the internal mem with direction top to bottom.

Change-Id: Ieae5298cad716a04e4a028dbf1d1e09e3325c350
Signed-off-by: yifei.xue <yifeix.xue@intel.com>
Reviewed-on: http://android.intel.com:8080/52416
Reviewed-by: Xu, Randy <randy.xu@intel.com>
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/staging/mrst/drv/gi_sony_cmd.c
drivers/staging/mrst/drv/psb_drv.c
drivers/staging/mrst/drv/psb_drv.h