File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
drivers/gpu/drm/i915/display Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -1525,8 +1525,18 @@ static void intel_psr_enable_source(struct intel_dp *intel_dp,
1525
1525
* can rely on frontbuffer tracking.
1526
1526
*/
1527
1527
mask = EDP_PSR_DEBUG_MASK_MEMUP |
1528
- EDP_PSR_DEBUG_MASK_HPD |
1529
- EDP_PSR_DEBUG_MASK_LPSP ;
1528
+ EDP_PSR_DEBUG_MASK_HPD ;
1529
+
1530
+ /*
1531
+ * For some unknown reason on HSW non-ULT (or at least on
1532
+ * Dell Latitude E6540) external displays start to flicker
1533
+ * when PSR is enabled on the eDP. SR/PC6 residency is much
1534
+ * higher than should be possible with an external display.
1535
+ * As a workaround leave LPSP unmasked to prevent PSR entry
1536
+ * when external displays are active.
1537
+ */
1538
+ if (DISPLAY_VER (dev_priv ) >= 8 || IS_HASWELL_ULT (dev_priv ))
1539
+ mask |= EDP_PSR_DEBUG_MASK_LPSP ;
1530
1540
1531
1541
if (DISPLAY_VER (dev_priv ) < 20 )
1532
1542
mask |= EDP_PSR_DEBUG_MASK_MAX_SLEEP ;
You can’t perform that action at this time.
0 commit comments