]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: modify wait_for_vblank of mixer
authorPrathyush K <prathyush.k@samsung.com>
Thu, 6 Dec 2012 14:46:03 +0000 (20:16 +0530)
committerInki Dae <daeinki@gmail.com>
Thu, 13 Dec 2012 14:05:44 +0000 (06:05 -0800)
commitd3ac6b3bda5b8c87100926f79a920bde3b0071b5
tree5c475c0c6b422e24a3716f42f1fb3c4ea38f84ee
parent986cc47a31e8d9bcf6b4966761e6b46bdadcaf85
drm/exynos: modify wait_for_vblank of mixer

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). This patch modifies
the wait for vblank function of mixer.

Signed-off-by: Prathyush K <prathyush.k@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_mixer.c