drm/i915/opregion: debug log about invalid ACPI OpRegion VBT
Leave more breadcrumbs for debuggers. Reviewed-by: Bob Paauwe <bob.j.paauwe@intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1490783578-6065-3-git-send-email-jani.nikula@intel.com
This commit is contained in:
parent
ccbf6b6498
commit
2e5fec5f62
|
@ -989,6 +989,8 @@ int intel_opregion_setup(struct drm_i915_private *dev_priv)
|
|||
opregion->vbt = vbt;
|
||||
opregion->vbt_size = vbt_size;
|
||||
goto out;
|
||||
} else {
|
||||
DRM_DEBUG_KMS("Invalid VBT in ACPI OpRegion (RVDA)\n");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1007,6 +1009,8 @@ int intel_opregion_setup(struct drm_i915_private *dev_priv)
|
|||
DRM_DEBUG_KMS("Found valid VBT in ACPI OpRegion (Mailbox #4)\n");
|
||||
opregion->vbt = vbt;
|
||||
opregion->vbt_size = vbt_size;
|
||||
} else {
|
||||
DRM_DEBUG_KMS("Invalid VBT in ACPI OpRegion (Mailbox #4)\n");
|
||||
}
|
||||
|
||||
out:
|
||||
|
|
Loading…
Reference in New Issue