drm/i915: Register ACPI video even when not modesetting
authorMatthew Garrett <mjg59@srcf.ucam.org>
Wed, 15 Apr 2009 20:46:36 +0000 (21:46 +0100)
committerEric Anholt <eric@anholt.net>
Fri, 17 Apr 2009 20:31:06 +0000 (13:31 -0700)
commitd770e3cfe5a274a343d896b2cc1646af85646fbc
tree0d4eb5a9ba01f25b8bc9c4500cf2e2a09871e869
parent5b0bdd6f7284ed39ee553f8a8c4f0d372c87133a
drm/i915: Register ACPI video even when not modesetting

The ACPI video driver defers registration to the i915 driver if the
system supports opregion-mediated backlight control. This registration
was only being performed in the KMS case. Ensure it's done even if we
don't have modesetting enabled.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_opregion.c