Skip to content

Commit ecb4aed

Browse files
committed
ACPI, i915: build fix
drivers/built-in.o: In function `intel_opregion_init': (.text+0x9d540): undefined reference to `acpi_video_register' http://bugzilla.kernel.org/show_bug.cgi?id=13165 Signed-off-by: Len Brown <len.brown@intel.com>
1 parent 0910697 commit ecb4aed

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎drivers/gpu/drm/Kconfig‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,12 @@ config DRM_I915
8383
config DRM_I915_KMS
8484
bool "Enable modesetting on intel by default"
8585
depends on DRM_I915
86+
# i915 KMS depends on ACPI_VIDEO when ACPI is enabled
87+
# but for select to work, need to select ACPI_VIDEO's dependencies, ick
88+
select VIDEO_OUTPUT_CONTROL if ACPI
89+
select BACKLIGHT_CLASS_DEVICE if ACPI
90+
select INPUT if ACPI
91+
select ACPI_VIDEO if ACPI
8692
help
8793
Choose this option if you want kernel modesetting enabled by default,
8894
and you have a new enough userspace to support this. Running old

0 commit comments

Comments
 (0)