]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Add Wa_22011802037 force cs halt
authorTilak Tangudu <tilak.tangudu@intel.com>
Fri, 15 Apr 2022 22:40:20 +0000 (15:40 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Tue, 19 Apr 2022 18:30:38 +0000 (11:30 -0700)
commitc0bddee8598eaec3798431262369d34f44a4d609
tree12f84062a0d43069c098ae96a26efd2fedc4e174
parent0a476dae317683a48e9895b595d806fa1e7254a6
drm/i915: Add Wa_22011802037 force cs halt

Prior to doing a reset, SW must ensure command streamer is stopped,
as a workaround, to eliminate a race condition in GPM flow.
Setting both the ring stop and prefetch disable bits, will cause the
command streamer to halt.

Signed-off-by: Tilak Tangudu <tilak.tangudu@intel.com>
Reviewed-by: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220415224025.3693037-2-umesh.nerlige.ramappa@intel.com
drivers/gpu/drm/i915/gt/intel_engine_cs.c
drivers/gpu/drm/i915/gt/intel_engine_regs.h