]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
tegra: dc: New trace event for latency measurement
authorArun Swain <arswain@nvidia.com>
Wed, 8 Apr 2015 23:39:51 +0000 (16:39 -0700)
committerMitch Luban <mluban@nvidia.com>
Tue, 5 May 2015 04:53:51 +0000 (21:53 -0700)
commit9fb0f71c9e3df2e957bd429fbd23d01ba98889d5
tree1af58e5ee9aad524a66e446276ad7aa90e502d55
parentfe7b7744a28565201ba0e0f1ccd9fd30b160e40c
tegra: dc: New trace event for latency measurement

Adds a new trace event to get the timestamp when
the dc gets unblocked on pre_syncpt_fence for a
particular flip.

This (sync_wt_ovr_syncpt_upd) alongwith the
existing trace events (flip_rcvd_syncpt_upd and
scanout_syncpt_upd) help us in measuring latency
from the point we receive a flip, the point at
which the frame is ready for scan-out and the
instant dc actually scans out the same frame.

Reviewed-on: http://git-master/r/729291
(cherry picked from commit f16e6c6344e48081e079348610d05ac80df0e1ad)
Change-Id: Icc007a58f161570b7dab090bcc843cc8065a1bc6
Signed-off-by: Arun Swain <arswain@nvidia.com>
Reviewed-on: http://git-master/r/738658
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
drivers/video/tegra/dc/ext/dev.c
include/trace/events/display.h