]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: Populate DIDL before registering ACPI video device on Intel
authorMatthew Garrett <mjg59@srcf.ucam.org>
Thu, 19 Mar 2009 21:35:39 +0000 (21:35 +0000)
committerLen Brown <len.brown@intel.com>
Sat, 28 Mar 2009 02:11:03 +0000 (22:11 -0400)
commit2df5d1988f538576ac72ee94691a0946d39325d4
tree66ebff203807d2ed77e77e1ccc2f71f63e571098
parentc7419b2779dc6193058ce5ef8dedc4ee0753faa4
ACPI: Populate DIDL before registering ACPI video device on Intel

Intel graphics hardware that implements the ACPI IGD OpRegion spec
requires that the list of display devices be populated before any ACPI
video methods are called. Detect when this is the case and defer
registration until the opregion code calls it. Fixes crashes on HP
laptops.

http://bugzilla.kernel.org/show_bug.cgi?id=11259

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Acked-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/video.c
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_opregion.c
include/acpi/video.h [new file with mode: 0644]