[PATCH v2 02/18] drm/exynos: use wait_event_timeout() for safety usage

2014-05-21 Thread YoungJun Cho
Hi Daniel, On 05/21/2014 03:45 PM, Daniel Kurtz wrote: > On Wed, May 21, 2014 at 2:28 PM, YoungJun Cho wrote: >> Hi Daniel >> >> >> On 05/21/2014 03:01 PM, Daniel Kurtz wrote: >>> >>> On Wed, May 21, 2014 at 12:42 PM, YoungJun Cho >>> wrote: There could be the case that the page flip o

[PATCH v2 02/18] drm/exynos: use wait_event_timeout() for safety usage

2014-05-21 Thread YoungJun Cho
Hi Daniel On 05/21/2014 03:01 PM, Daniel Kurtz wrote: > On Wed, May 21, 2014 at 12:42 PM, YoungJun Cho > wrote: >> There could be the case that the page flip operation isn't finished correctly >> with some abnormal condition such as panel reset. So this patch replaces >> wait_event() with wait_e

[PATCH v2 02/18] drm/exynos: use wait_event_timeout() for safety usage

2014-05-21 Thread Daniel Kurtz
On Wed, May 21, 2014 at 2:28 PM, YoungJun Cho wrote: > Hi Daniel > > > On 05/21/2014 03:01 PM, Daniel Kurtz wrote: >> >> On Wed, May 21, 2014 at 12:42 PM, YoungJun Cho >> wrote: >>> >>> There could be the case that the page flip operation isn't finished >>> correctly >>> with some abnormal condit

[PATCH v2 02/18] drm/exynos: use wait_event_timeout() for safety usage

2014-05-21 Thread Daniel Kurtz
On Wed, May 21, 2014 at 12:42 PM, YoungJun Cho wrote: > There could be the case that the page flip operation isn't finished correctly > with some abnormal condition such as panel reset. So this patch replaces > wait_event() with wait_event_timeout() to avoid waiting for page flip > completion > i

[PATCH v2 02/18] drm/exynos: use wait_event_timeout() for safety usage

2014-05-21 Thread YoungJun Cho
There could be the case that the page flip operation isn't finished correctly with some abnormal condition such as panel reset. So this patch replaces wait_event() with wait_event_timeout() to avoid waiting for page flip completion infinitely. And clears exynos_crtc->pending_flip in exynos_drm_crtc