sync: optimize fence merges
authorErik Gilling <konkers@android.com>
Thu, 12 Jul 2012 00:13:50 +0000 (17:13 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 23 Jul 2012 08:51:47 +0000 (13:51 +0530)
commit8dfc5d7b8523a5c481183fca7f7fc4802926be4e
treef3c7a37b68de0fce6e2fdf6c4804e8dff5a63b8a
parentd3ad40675903e6e40f495caf9130a7a586425255
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.

Change-Id: Iced7ebb7e5a17a0c8b1a2969ba3388a4edb9ecaf
Signed-off-by: Erik Gilling <konkers@android.com>
drivers/base/sync.c