drm/i915/psr: Add a FIXME for the PSR vs. AUX usage conflict
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 11 Apr 2023 19:14:27 +0000 (22:14 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 20 Apr 2023 18:45:47 +0000 (21:45 +0300)
We need to disable PSR when we are doing AUX by hand, otherwise
it's possible that the PSR hardware could be using the AUX CH
while we try to do our manual stuff. Add a FIXME for now.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230411191429.29895-7-ville.syrjala@linux.intel.com
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
drivers/gpu/drm/i915/display/intel_dp_aux.c

index 705915d..abf77ba 100644 (file)
@@ -268,6 +268,11 @@ intel_dp_aux_xfer(struct intel_dp *intel_dp,
 
        intel_pps_check_power_unlocked(intel_dp);
 
+       /*
+        * FIXME PSR should be disabled here to prevent
+        * it using the same AUX CH simultaneously
+        */
+
        /* Try to wait for any previous AUX channel activity */
        for (try = 0; try < 3; try++) {
                status = intel_de_read_notrace(i915, ch_ctl);