summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/msm_drv.c
diff options
context:
space:
mode:
authorArchit Taneja <architt@codeaurora.org>2015-10-26 14:43:57 +0530
committerRob Clark <robdclark@gmail.com>2015-12-14 10:37:01 -0500
commite2dd9f9ffa7fff1d56d331b08cce72781f65aa52 (patch)
treefd0d9af9533125d942ce691dda33b53dec36fd4d /drivers/gpu/drm/msm/msm_drv.c
parent663a233eef643b38f36c05535cb5c9a4972edcc1 (diff)
downloadop-kernel-dev-e2dd9f9ffa7fff1d56d331b08cce72781f65aa52.zip
op-kernel-dev-e2dd9f9ffa7fff1d56d331b08cce72781f65aa52.tar.gz
drm/msm/mdp5: high precision vblank timestamp support
MDP5 has line count and frame count registers for each interface. Enable these counters and use them to implement the get_vblank_timestamp drm driver op. The line counter starts with the value 1 at the beginning of the VSYNC pulse and ends with value VTOTAL at the end of VFP. This value is used to determine whether we're in blanking period or not, and an adjusted value of this counter is used to get vpos as expected by get_scanout_position. Since there is no way to calculate hpos, we always set it to 0. Signed-off-by: Archit Taneja <architt@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_drv.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud