drm/i915/psr: Handle PSR errors
authorJosé Roberto de Souza <jose.souza@intel.com>
Tue, 26 Jun 2018 20:16:42 +0000 (13:16 -0700)
committerDhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Wed, 27 Jun 2018 00:13:05 +0000 (17:13 -0700)
commit93bf76ed882d5b7c6824e95d868d608f61b4f663
treee68e56f0cdf2c3aad6f155100fd72e801527f8d4
parentcc3054ff6214f6d14d35ffe629ff8d5032ace7f7
drm/i915/psr: Handle PSR errors

Sink will interrupt source when it have any PSR error.
DP_PSR_VSC_SDP_UNCORRECTABLE_ERROR is a PSR2 but already
handling it here.
The only missing error to be handled is DP_PSR_LINK_CRC_ERROR that
will be taken in care in a futher patch.

v6:
not handling DP_PSR_LINK_CRC_ERROR here

v5:
handling all PSR errors here, so the commit message and
comment have changed

v3:
disabling PSR instead of exiting on error

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180626201644.21932-3-jose.souza@intel.com
drivers/gpu/drm/i915/intel_psr.c