sync: optimize fence merges
authorErik Gilling <konkers@android.com>
Thu, 12 Jul 2012 00:13:50 +0000 (17:13 -0700)
committer黄涛 <huangtao@rock-chips.com>
Fri, 22 Feb 2013 09:46:58 +0000 (17:46 +0800)
commitf7b21468ffdc9c3696db7be6085725a515ef8181
treecd672531202afe7942831d44b683386399102f3c
parent7b6920244ba00df0d82da8dffae6c3d588f3a705
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