[PATCH 1/3] drm/exynos: modify wait for vsync functions to use wait queues

2012-12-04 Thread Prathyush K
It is more optimium to use wait queues while waiting for vsync so that the current task is put to sleep. This way, the task wont hog the CPU while waiting. We use wait_event_timeout and not an interruptible function since we dont want the function to exit when a signal is pending (e.g. drm release)

[PATCH 1/3] drm/exynos: modify wait for vsync functions to use wait queues

2012-12-04 Thread Prathyush K
It is more optimium to use wait queues while waiting for vsync so that the current task is put to sleep. This way, the task wont hog the CPU while waiting. We use wait_event_timeout and not an interruptible function since we dont want the function to exit when a signal is pending (e.g. drm release)