[PATCH] drm/msm/mdp5: high precision vblank timestamp support

2015-10-27 Thread Archit Taneja
On 10/27/2015 05:33 AM, Rob Clark wrote: > On Mon, Oct 26, 2015 at 5:54 AM, Archit Taneja > wrote: >> 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 wit

[PATCH] drm/msm/mdp5: high precision vblank timestamp support

2015-10-26 Thread Rob Clark
On Mon, Oct 26, 2015 at 5:54 AM, Archit Taneja wrote: > 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

[PATCH] drm/msm/mdp5: high precision vblank timestamp support

2015-10-26 Thread Archit Taneja
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