GPU 3D clock will still enable/disable when video playback,
actually there is no 3D usage, to saving power we should
avoid 3D clock enable/disable. This patch optimize event
synchronization by not pass signal/sync_point to gpu when
current gcoHARDWARE is already sync'ed GPU and no command
buffer required.
Date: Apr 13, 2016
Signed-off-by: Richard Liu <r66033@freescale.com>
Signed-off-by: Meng Mingming <mingming.meng@nxp.com>
syncPoint));
break;
+ case gcvSYNC_POINT_SIGNAL:
+ syncPoint = gcmUINT64_TO_PTR(Interface->u.SyncPoint.syncPoint);
+
+ gcmkONERROR(gckOS_SignalSyncPoint(Kernel->os, syncPoint));
+ break;
+
default:
gcmkONERROR(gcvSTATUS_INVALID_ARGUMENT);
break;