: ACPI: Check whether the acpi video is deferrable only when KMS is enabled
PATCH 1/2 : ACPI: Check whether the acpi video is deferrable only when KMS is enabled
From: Zhao Yakui <[email protected]>
weaken the dependency between the I915 driver and ACPI video driver. When the KMS is not enabled in kernel configuration, it will contine the current flowchart.
Signed-off-by Zhao Yakui <[email protected]>
cc Matthew Garrett <[email protected]>
--- drivers/acpi/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/video.c +1 -1
@@ -2242,7 +2242,7 @@static int __init intel_opregion_present (void ) { -#if defined(CONFIG_DRM_I915 ) || defined(CONFIG_DRM_I915_MODULE ) +#if defined(CONFIG_DRM_I915_KMS )struct pci_dev *dev =NULL ;u32 address;
Quoted 8 lines · yakui_zhao
From: Zhao Yakui <[email protected]>
weaken the dependency between the I915 driver and ACPI video driver. When the KMS is not enabled in kernel configuration, it will contine the current flowchart.
Signed-off-by Zhao Yakui <[email protected]>cc Matthew Garrett <[email protected]>
Acked-by Matthew Garrett <[email protected]>
Signature · 1 line
Matthew Garrett | [email protected]