[PATCH] drm/msm/mdp5: release SMB(shared memory blocks) in various cases

2015-06-19 Thread Wentao Xu
Release all blocks after the pipe is disabled, even when vsync didn't happen in some error cases. Allow requesting SMB multiple times before configuring to hardware, by releasing blocks not programmed to hardware yet for shrinking case. Signed-off-by: Wentao Xu --- drivers/gpu/drm/msm/mdp

[PATCH] drm/msm: change to uninterruptible wait in atomic commit

2015-06-22 Thread Wentao Xu
The atomic commit cannot easily undo and return an error once the state is swapped. Change to uninterruptible wait, and ignore the timeout error. Signed-off-by: Wentao Xu --- drivers/gpu/drm/msm/msm_atomic.c | 8 ++-- drivers/gpu/drm/msm/msm_drv.c| 13 + drivers/gpu/drm/msm