diff options
author | YoungJun Cho <yj44.cho@samsung.com> | 2014-07-17 18:01:17 +0900 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2014-08-03 16:52:14 +0900 |
commit | e35d7223de18e01df8922676464572db8b1453a1 (patch) | |
tree | 165adb93ff258ad93c98272c2f2a2e71e088b184 /tools/perf/scripts/python/sched-migration.py | |
parent | 2f36e33aef211815f172a2310e5759cb0d0843bf (diff) |
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.
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 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions