Commit 3885c6bb authored by Chris Wilson's avatar Chris Wilson

drm/i915: Disable high-precision vblank timestamping for UMS

We only have sufficient information for accurate (sub-frame) timestamping
when the modesetting is under our control.
Reported-by: default avatarChris Clayton <chris2553@googlemail.com>
Tested-by: default avatarChris Clayton <chris2553@googlemail.com>
Reviewed-by: default avatarMario Kleiner <mario.kleiner@tuebingen.mpg.de>
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent 4041b853
...@@ -752,6 +752,9 @@ static int __init i915_init(void) ...@@ -752,6 +752,9 @@ static int __init i915_init(void)
driver.driver_features &= ~DRIVER_MODESET; driver.driver_features &= ~DRIVER_MODESET;
#endif #endif
if (!(driver.driver_features & DRIVER_MODESET))
driver.get_vblank_timestamp = NULL;
return drm_init(&driver); return drm_init(&driver);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment