]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/i915: Provide more information on DP AUX failures
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 29 Oct 2019 17:31:02 +0000 (10:31 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Tue, 29 Oct 2019 19:54:11 +0000 (12:54 -0700)
commit5451646467436695f90a23274845c8d54d950f19
tree30d56071013d8b7e783c33878ef2ec24e1805f8c
parent0f9ed3b2c9ecb727d6cea803def2998e1a6e625e
drm/i915: Provide more information on DP AUX failures

We're seeing some failures where an aux transaction still shows as
'busy' well after the timeout limit that the hardware is supposed to
enforce.  Improve the error message so that we can see exactly which aux
channel this error happened on and what the status bits were during this
case that isn't supposed to happen.

v2:
 - Make timeout a const variable so that the timeout & message will
   match if we decide to change it in the future.  (Lucas)
 - Don't bother testing intel_dp->aux.name for NULL.  (Lucas)

Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191029173102.9451-1-matthew.d.roper@intel.com
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/i915/display/intel_dp.c