From: Prathyush K Date: Thu, 6 Dec 2012 14:46:04 +0000 (+0530) Subject: drm/exynos: modify wait_for_vblank of fimd X-Git-Tag: v3.8-rc1~82^2~1^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01ce113ca5b18aea4c97dea62287394ca4f8ad7f;p=pandora-kernel.git drm/exynos: modify wait_for_vblank of fimd 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 fimd. Signed-off-by: Prathyush K Signed-off-by: Inki Dae --- Reading git-diff-tree failed