drm/i915: Also record time difference if vblank evasion fails, v2.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 1 Sep 2015 10:15:33 +0000 (12:15 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 2 Sep 2015 11:51:40 +0000 (13:51 +0200)
commit85a62bf9d8ef8d533635270ae985281c58e8c974
treeb8fbe6c3f327b94c71fa936bee3abac94934c65d
parent34e0adbb4508a318e8039ee3959383e4bf080f04
drm/i915: Also record time difference if vblank evasion fails, v2.

This makes the error message slightly more useful.

Changes since v1:
- Use ktime_get() while irqs are still disabled. (vsyrjala)

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_sprite.c