]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/psr: Remove wait_for_idle() for PSR2
authorDhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Fri, 24 Aug 2018 23:08:43 +0000 (16:08 -0700)
committerDhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Mon, 27 Aug 2018 19:07:30 +0000 (12:07 -0700)
commitc0c068109570d36d3290dda3bb2635460e6f26b6
tree3fd3cbf0b6d266f88cc2e5ad67e770f1952eec6b
parent5d987b1773d1000eec2a52a48c59e90fd4abf1d1
drm/i915/psr: Remove wait_for_idle() for PSR2

CI runs show PSR2 does not go to IDLE with selective update enabled on
all PSR exit triggers. Specifically, logs indicate the hardware enters
"SLEEP Selective Update" and not "IDLE Reset state', like the kernel
expects, when vblank interrupts are enabled. This check was added for PSR1
but incorrectly extended to PSR2, remove the check as it breaks tests
and prints out misleading error messages.

v2: Split out non-code changes (Rodrigo)

Cc: Tarun Vyas <tarun.vyas@intel.com>
Cc: José Roberto de Souza <jose.souza@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Fixes: 812b1547a563 ("drm/i915/psr: Lockless version of psr_wait_for_idle")
Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180824230844.12428-1-dhinakaran.pandiyan@intel.com
drivers/gpu/drm/i915/intel_psr.c