diff options
author | Jani Nikula <jani.nikula@intel.com> | 2017-03-29 13:32:57 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2017-03-30 09:12:36 +0300 |
commit | 2e5fec5f621410f6b71403ff6794b115c79a9d6f (patch) | |
tree | 341e1737965b7535376906e57358359d045c2049 /drivers/gpu/drm/i915/intel_opregion.c | |
parent | ccbf6b6498a47a71ea3287c6b41e3028a70c6282 (diff) | |
download | op-kernel-dev-2e5fec5f621410f6b71403ff6794b115c79a9d6f.zip op-kernel-dev-2e5fec5f621410f6b71403ff6794b115c79a9d6f.tar.gz |
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
Diffstat (limited to 'drivers/gpu/drm/i915/intel_opregion.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_opregion.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_opregion.c b/drivers/gpu/drm/i915/intel_opregion.c index 2b64cb6..d444651 100644 --- a/drivers/gpu/drm/i915/intel_opregion.c +++ b/drivers/gpu/drm/i915/intel_opregion.c @@ -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: |