]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Use the VBT from OpRegion when available (v3)
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 19 Aug 2010 15:09:23 +0000 (16:09 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Sep 2010 09:13:32 +0000 (10:13 +0100)
commit3fe69a682b5d0bda6be93ca8eb70de378d7480c1
treeebe2c53b1a08b99a95b579942ae2d7603935709d
parentbf12837e6c78d00af5a5bce4197538a244cd246f
drm/i915: Use the VBT from OpRegion when available (v3)

It is recommended that we use the Video BIOS tables that were copied
into the OpRegion during POST when initialising the driver. This saves
us from having to furtle around inside the ROM ourselves and possibly
allows the vBIOS to adjust the tables prior to initialisation.

On some systems, such as the Samsung N210, there is no accessible VBIOS
and the only means of finding the VBT is through the OpRegion.

v2: Rearrange the code so that ASLE is enabled along with ACPI
v3: Enable OpRegion parsing even without ACPI

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Garrett <mjg@redhat.com>
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/i915_debugfs.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/intel_bios.c
drivers/gpu/drm/i915/intel_opregion.c