Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/i915/psr: Do not unnecessarily remove underrun on idle PSR WA

We are currently removing underrun on idle PSR WA even if it's not
applied. Fix this by checking pkg_c_latency_used on PSR exit as well.

Fixes: 9b1795e9b0ae ("drm/i915/psr: Underrun on idle PSR wa only when pkgc latency > delayed vblank")
Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Link: https://lore.kernel.org/r/20250822105846.1023631-1-jouni.hogander@intel.com

+3 -2
+3 -2
drivers/gpu/drm/i915/display/intel_psr.c
··· 2095 2095 2096 2096 drm_WARN_ON(display->drm, !(val & EDP_PSR2_ENABLE)); 2097 2097 } else { 2098 - if (DISPLAY_VER(display) == 20 || 2099 - IS_DISPLAY_VERx100_STEP(display, 3000, STEP_A0, STEP_B0)) 2098 + if ((DISPLAY_VER(display) == 20 || 2099 + IS_DISPLAY_VERx100_STEP(display, 3000, STEP_A0, STEP_B0)) && 2100 + intel_dp->psr.pkg_c_latency_used) 2100 2101 intel_dmc_start_pkgc_exit_at_start_of_undelayed_vblank(display, 2101 2102 intel_dp->psr.pipe, 2102 2103 false);