diff options
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c index 69d8ed5416c3..72e2be7a6c80 100644 --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c | |||
@@ -799,6 +799,12 @@ static int i915_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
799 | struct intel_device_info *intel_info = | 799 | struct intel_device_info *intel_info = |
800 | (struct intel_device_info *) ent->driver_data; | 800 | (struct intel_device_info *) ent->driver_data; |
801 | 801 | ||
802 | if (IS_PRELIMINARY_HW(intel_info) && !i915_preliminary_hw_support) { | ||
803 | DRM_INFO("This hardware requires preliminary hardware support.\n" | ||
804 | "See CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT, and/or modparam preliminary_hw_support\n"); | ||
805 | return -ENODEV; | ||
806 | } | ||
807 | |||
802 | /* Only bind to function 0 of the device. Early generations | 808 | /* Only bind to function 0 of the device. Early generations |
803 | * used function 1 as a placeholder for multi-head. This causes | 809 | * used function 1 as a placeholder for multi-head. This causes |
804 | * us confusion instead, especially on the systems where both | 810 | * us confusion instead, especially on the systems where both |