|
@@ -2176,6 +2176,17 @@ EXPORT_SYMBOL(acpi_video_unregister_backlight);
|
|
|
|
|
|
static int __init acpi_video_init(void)
|
|
|
{
|
|
|
+ /*
|
|
|
+ * Let the module load even if ACPI is disabled (e.g. due to
|
|
|
+ * a broken BIOS) so that i915.ko can still be loaded on such
|
|
|
+ * old systems without an AcpiOpRegion.
|
|
|
+ *
|
|
|
+ * acpi_video_register() will report -ENODEV later as well due
|
|
|
+ * to acpi_disabled when i915.ko tries to register itself afterwards.
|
|
|
+ */
|
|
|
+ if (acpi_disabled)
|
|
|
+ return 0;
|
|
|
+
|
|
|
dmi_check_system(video_dmi_table);
|
|
|
|
|
|
if (intel_opregion_present())
|