diff options
author | YoungJun Cho <yj44.cho@samsung.com> | 2014-06-18 18:14:00 +0900 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 11:59:51 +0900 |
commit | c8e27798073cfe31e57dc24638c9ddb12690a706 (patch) | |
tree | 5d610a8677ef20d4e4d4dfdfa7a6f6014ed1eb01 /Documentation/virtual | |
parent | 6e67382cba73d350e734121c3e1475077797ef59 (diff) | |
download | linux-3.10-c8e27798073cfe31e57dc24638c9ddb12690a706.tar.gz linux-3.10-c8e27798073cfe31e57dc24638c9ddb12690a706.tar.bz2 linux-3.10-c8e27798073cfe31e57dc24638c9ddb12690a706.zip |
drm/exynos: use wait_event_timeout() for safety usage
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_page_flip()
when exynos_drm_crtc_mode_set_commit() is failed.
Change-Id: Ib110ff1d6089394da37ba5a8375a4efdd6128672
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
Acked-by: Inki Dae <inki.dae@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'Documentation/virtual')
0 files changed, 0 insertions, 0 deletions