]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: move "no VBT in opregion" quirk to intel_opregion_setup()
authorJani Nikula <jani.nikula@intel.com>
Mon, 14 Dec 2015 10:50:46 +0000 (12:50 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 16 Dec 2015 09:21:02 +0000 (11:21 +0200)
commitbcb2d1b1405f06cc838b691419bb157a47fff86a
treedc5514189ae4ce5d76566e3d392b5ba89aa6d026
parent3cce88cab1f4ec61a976b1104f851614a0141ead
drm/i915: move "no VBT in opregion" quirk to intel_opregion_setup()

Check the quirk in intel_opregion_setup(), and don't initialize
opregion->vbt at all if the quirk says it's not present, hiding the
quirk from the rest of the driver.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/7cdc86eb441f8b7075142445a800b07ecf8c76cb.1450089383.git.jani.nikula@intel.com
drivers/gpu/drm/i915/intel_bios.c
drivers/gpu/drm/i915/intel_opregion.c