drm: add monotonic timestamp support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 5 repliesIn review
Changes since the RFC from the cover letter
- use monotonic instead of raw monotonic time
- use a module global flag instead of a per-client flag to set the compatibility mode with GTOD timestamps
- rebased on top of Rob Clark's drm_send_vblank_event patchset
[1] git://people.freedesktop.org/~danvet/drm-intel
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | drm: use monotonic time in drm_calc_vbltimestamp_from_scanoutposdrivers/ | +12 | 3 replies | |
| 2/2 | drm: add support for monotonic vblank timestampsdrivers/ drivers/ drivers/ +2 more | +33 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] drm: add monotonic timestamp support
This is needed to make applications using wait-for-vblank/page-flip timestamps independent of time ajdustments other than adjustments for HW clock jitter.
I've tested these with an updated intel-gpu-test/flip_test and will send the update for that once there's no objection about this patchset.
The patchset is based on the nightly branch of [1], with Rob Clark's "drm: add drm_send_vblank_event() helper" patchset applied.
Changes since the RFC:
- use monotonic instead of raw monotonic time
- use a module global flag instead of a per-client flag to set the compatibility mode with GTOD timestamps
- rebased on top of Rob Clark's drm_send_vblank_event patchset
[1] git://people.freedesktop.org/~danvet/drm-intel
Imre Deak (2):
drm: use monotonic time in drm_calc_vbltimestamp_from_scanoutpos
drm: add support for monotonic vblank timestamps
drivers/gpu/drm/drm_ioctl.c | 3 +++ drivers/gpu/drm/drm_irq.c | 39 ++++++++++++++++++++++++++++++--------- drivers/gpu/drm/drm_stub.c | 8 ++++++++ include/drm/drmP.h | 1 + include/uapi/drm/drm.h | 1 + 5 files changed, 43 insertions(+), 9 deletions(-)
Signature · 1 line
1.7.9.5