]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/psr: Disable psr1 if setup_time > vblank
authorAnimesh Manna <animesh.manna@intel.com>
Tue, 5 Nov 2024 10:39:16 +0000 (16:09 +0530)
committerAnimesh Manna <animesh.manna@intel.com>
Tue, 19 Nov 2024 07:56:52 +0000 (13:26 +0530)
commitca596b781a8081a14077f1e902b4ce43c1fd8fb2
treec2e14fc172433c6b2475912b0b0865d28c941172
parentd58f65df2dcb59acd3965907507cfa608fe924b4
drm/i915/psr: Disable psr1 if setup_time > vblank

Issue is seen when PSR enabled with setup frames and when try to disable
PSR at SRDONACK State (0x1). PSR FSM is stuck at SRDONACK(0x1) for more
than 5 seconds. Issue not seen with Setup frames disabled. Currently
disable psr1 if setuptime > vblank to workaround the above issue.

HSD: 16024594674
WA: 18037818876

v1: Initial version
v2: Add debug log and some cosmetic changes. [Jouni, Jani, Nemesa]

Signed-off-by: Animesh Manna <animesh.manna@intel.com>
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241105103916.1857731-1-animesh.manna@intel.com
drivers/gpu/drm/i915/display/intel_psr.c