drm/i915: Put "cooked" vlank counters in frame CRC lines
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Tue, 10 Jan 2017 13:43:05 +0000 (14:43 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 10 Jan 2017 16:30:56 +0000 (17:30 +0100)
commit246ee524a2846fc0f32b8ac9d846bc93e38851e8
tree81b5b3ae7ecd7a18e5e5da333b8d70630e666906
parent8c6b709d96cb99777d06c35142e9c3d0dfd8ddb6
drm/i915: Put "cooked" vlank counters in frame CRC lines

Use drm_accurate_vblank_count so we have the full 32 bit to represent
the frame counter and userspace has a simpler way of knowing when the
counter wraps around.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Robert Foss <robert.foss@collabora.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170110134305.26326-3-tomeu.vizoso@collabora.com
drivers/gpu/drm/i915/i915_irq.c