Re: [PATCH] drm/rockchip: Return -EBUSY if there's already a pending flip event v2

2016-04-01 Thread Mark yao
On 2016年04月01日 19:47, Tomeu Vizoso wrote: On 04/01/2016 01:26 PM, Mark yao wrote: On 2016年03月31日 16:08, Tomeu Vizoso wrote: As per the docs, atomic_commit should return -EBUSY "if an asycnhronous updated is requested and there is an earlier updated pending". v2: Use the status of the

Re: [PATCH] drm/rockchip: Return -EBUSY if there's already a pending flip event v2

2016-04-01 Thread Mark yao
On 2016年04月01日 19:47, Tomeu Vizoso wrote: On 04/01/2016 01:26 PM, Mark yao wrote: On 2016年03月31日 16:08, Tomeu Vizoso wrote: As per the docs, atomic_commit should return -EBUSY "if an asycnhronous updated is requested and there is an earlier updated pending". v2: Use the status of the

Re: [PATCH] drm/rockchip: Return -EBUSY if there's already a pending flip event v2

2016-04-01 Thread Tomeu Vizoso
On 04/01/2016 01:26 PM, Mark yao wrote: > On 2016年03月31日 16:08, Tomeu Vizoso wrote: >> As per the docs, atomic_commit should return -EBUSY "if an asycnhronous >> updated is requested and there is an earlier updated pending". >> >> v2: Use the status of the workqueue instead of vop->event, and

Re: [PATCH] drm/rockchip: Return -EBUSY if there's already a pending flip event v2

2016-04-01 Thread Tomeu Vizoso
On 04/01/2016 01:26 PM, Mark yao wrote: > On 2016年03月31日 16:08, Tomeu Vizoso wrote: >> As per the docs, atomic_commit should return -EBUSY "if an asycnhronous >> updated is requested and there is an earlier updated pending". >> >> v2: Use the status of the workqueue instead of vop->event, and

[PATCH] drm/rockchip: Return -EBUSY if there's already a pending flip event v2

2016-03-31 Thread Tomeu Vizoso
As per the docs, atomic_commit should return -EBUSY "if an asycnhronous updated is requested and there is an earlier updated pending". v2: Use the status of the workqueue instead of vop->event, and don't add a superfluous wait on the workqueue. Signed-off-by: Tomeu Vizoso

[PATCH] drm/rockchip: Return -EBUSY if there's already a pending flip event v2

2016-03-31 Thread Tomeu Vizoso
As per the docs, atomic_commit should return -EBUSY "if an asycnhronous updated is requested and there is an earlier updated pending". v2: Use the status of the workqueue instead of vop->event, and don't add a superfluous wait on the workqueue. Signed-off-by: Tomeu Vizoso ---