]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/i915/psr: Remove PSR2 TODO error handling
authorJosé Roberto de Souza <jose.souza@intel.com>
Wed, 3 Oct 2018 20:50:27 +0000 (13:50 -0700)
committerDhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Fri, 5 Oct 2018 23:11:01 +0000 (16:11 -0700)
We are already handling all PSR2 errors, so we can drop this TODO.

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/20181003205031.32474-3-jose.souza@intel.com
drivers/gpu/drm/i915/intel_psr.c

index 5006b30b848d96ce4de05b0a2965c03ce2fecab9..1c4beaca1c0f40055fdbedfdbe0aee7f2dbfbc86 100644 (file)
@@ -1128,8 +1128,6 @@ void intel_psr_short_pulse(struct intel_dp *intel_dp)
                intel_psr_disable_locked(intel_dp);
        /* clear status register */
        drm_dp_dpcd_writeb(&intel_dp->aux, DP_PSR_ERROR_STATUS, val);
-
-       /* TODO: handle PSR2 errors */
 exit:
        mutex_unlock(&psr->lock);
 }