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)
commitb30581a4d64f226a064132d09364b51e82a01dde
treedc5514189ae4ce5d76566e3d392b5ba89aa6d026
parentb3cbd98b2572ada8df1f183190bd867183369df7
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