]> 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)
commit9c722834bce95a7741993ec1203ac4ae25291351
tree30d56071013d8b7e783c33878ef2ec24e1805f8c
parentdb410db5f10094ab2d1ca58f37c4764e0afb4b0e
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