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 disable Early Transport when enable_psr is set

Current approach is that Early Transport is disabled in case enable_psr
module parameter is set. Let's ignore enable_psr parameter when choosing if
Early Transport can be used.

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://lore.kernel.org/r/20250715105509.4146806-2-jouni.hogander@intel.com

+1 -12
+1 -12
drivers/gpu/drm/i915/display/intel_psr.c
··· 265 265 } 266 266 } 267 267 268 - static bool psr2_su_region_et_global_enabled(struct intel_dp *intel_dp) 269 - { 270 - struct intel_display *display = to_intel_display(intel_dp); 271 - 272 - if (display->params.enable_psr != -1) 273 - return false; 274 - 275 - return true; 276 - } 277 - 278 268 static bool panel_replay_global_enabled(struct intel_dp *intel_dp) 279 269 { 280 270 struct intel_display *display = to_intel_display(intel_dp); ··· 732 742 return panel_replay ? 733 743 intel_dp->pr_dpcd[INTEL_PR_DPCD_INDEX(DP_PANEL_REPLAY_CAP_SUPPORT)] & 734 744 DP_PANEL_REPLAY_EARLY_TRANSPORT_SUPPORT : 735 - intel_dp->psr_dpcd[0] == DP_PSR2_WITH_Y_COORD_ET_SUPPORTED && 736 - psr2_su_region_et_global_enabled(intel_dp); 745 + intel_dp->psr_dpcd[0] == DP_PSR2_WITH_Y_COORD_ET_SUPPORTED; 737 746 } 738 747 739 748 static void _panel_replay_enable_sink(struct intel_dp *intel_dp,