diff options
Diffstat (limited to 'drivers/gpu/drm/i915')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c index 59eb19b13b3f..66796bb82d3e 100644 --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c | |||
@@ -752,6 +752,9 @@ static int __init i915_init(void) | |||
752 | driver.driver_features &= ~DRIVER_MODESET; | 752 | driver.driver_features &= ~DRIVER_MODESET; |
753 | #endif | 753 | #endif |
754 | 754 | ||
755 | if (!(driver.driver_features & DRIVER_MODESET)) | ||
756 | driver.get_vblank_timestamp = NULL; | ||
757 | |||
755 | return drm_init(&driver); | 758 | return drm_init(&driver); |
756 | } | 759 | } |
757 | 760 | ||