]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/psr: Don't enable Panel Replay on sink if globally disabled
authorJouni Högander <jouni.hogander@intel.com>
Thu, 15 Jan 2026 07:00:39 +0000 (09:00 +0200)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Mon, 19 Jan 2026 09:55:31 +0000 (11:55 +0200)
commit69f83f167463bad26104af7fbc114ce1f80366b0
tree841d41379a22b37e66c414455181c1856be7f37e
parent95adee9a04fa1eaa352e960e9d3387055fa03bb3
drm/i915/psr: Don't enable Panel Replay on sink if globally disabled

With some panels informing support for Panel Replay we are observing
problems if having Panel Replay enable bit set on sink when forced to use
PSR instead of Panel Replay. Avoid these problems by not setting Panel
Replay enable bit in sink when Panel Replay is globally disabled during
link training. I.e. disabled by module parameter.

The enable bit is still set when disabling Panel Replay via debugfs
interface. Added note comment about this.

Fixes: 68f3a505b367 ("drm/i915/psr: Enable Panel Replay on sink always when it's supported")
Cc: Mika Kahola <mika.kahola@intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: <stable@vger.kernel.org> # v6.15+
Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Link: https://patch.msgid.link/20260115070039.368965-1-jouni.hogander@intel.com
(cherry picked from commit c5a52cd04e24f0ae53fda26f74ab027b8c548e0e)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/display/intel_psr.c