]> git.karo-electronics.de Git - linux-beck.git/commit
staging: sync: Optimize fence merges
authorErik Gilling <konkers@android.com>
Fri, 1 Mar 2013 00:43:09 +0000 (16:43 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Mar 2013 09:44:07 +0000 (17:44 +0800)
commitc6f668ce63943db48057b2e3ae8ef3ad5f9b29d2
treeff2a37d0e4da11eedc925bf99d14f2d1fecbf549
parentcc3c5cdc7bc16b78b6c59f0720542965a67d1c81
staging: sync: Optimize fence merges

If the two fences being merged contain sync_pts from the same timeline,
those two pts will be collapsed into a single pt representing the latter
of the two.

Cc: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Cc: Erik Gilling <konkers@android.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Rob Clark <robclark@gmail.com>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: dri-devel@lists.freedesktop.org
Cc: Android Kernel Team <kernel-team@android.com>
Signed-off-by: Erik Gilling <konkers@android.com>
[jstultz: Whitespace fixes]
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/sync.c