From: Erik Gilling Date: Fri, 1 Mar 2013 00:43:19 +0000 (-0800) Subject: staging: sync: Update new fence status with sync_fence_signal_pt X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~817 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eeb2f571639feedcfce3f1718b0c3fd85d796812;p=pandora-kernel.git staging: sync: Update new fence status with sync_fence_signal_pt If a fence's pt is signaled before sync_fence_create is called, the fence will never transition into the signaled state. This also address a tiny race if a merged fence's pt after sync_fence_get_status checks it's status and before fence->status is updated. Cc: Maarten Lankhorst Cc: Erik Gilling Cc: Daniel Vetter Cc: Rob Clark Cc: Sumit Semwal Cc: dri-devel@lists.freedesktop.org Cc: Android Kernel Team Signed-off-by: Erik Gilling Signed-off-by: John Stultz Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed