]> git.baikalelectronics.ru Git - 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)
commit5366fcf8313f855a86a4f801cad8f8e07625b160
tree30d56071013d8b7e783c33878ef2ec24e1805f8c
parent802d2d8035543f7108f25453e44b13f713a0da5d
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