OSDN Git Service

drm/i915/display/psr: Print in debugfs if PSR is not enabled because of sink
authorJosé Roberto de Souza <jose.souza@intel.com>
Wed, 23 Oct 2019 21:49:32 +0000 (14:49 -0700)
committerJosé Roberto de Souza <jose.souza@intel.com>
Fri, 25 Oct 2019 00:59:02 +0000 (17:59 -0700)
commitb7412c6b2203da6187569de600a3d2e8630f9caf
tree47d0fa6c24b44d359313f35163227dd2f17b29fe
parentd506a65d56fd5287cf9219de7f3af5004b38fc6f
drm/i915/display/psr: Print in debugfs if PSR is not enabled because of sink

Right now if sink reported any PSR error or if it fails to
acknowledge the PSR wakeup it sets a flag and do not attempt to
enable PSR anymore. That is the safest approach to avoid repetitive
glitches and allowed us to have PSR enabled by default.

But from time to time even good PSR panels have a PSR error, causing
tests to fail. And for now we are not yet to the point were we could
try to recover from PSR errors, so lets add this information to the
debugfs so IGT can check if PSR is disabled because of sink errors or
not and eliminate this noise from CI runs.

Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Ap Kamal <kamal.ap@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191023214932.94679-1-jose.souza@intel.com
drivers/gpu/drm/i915/i915_debugfs.c