OSDN Git Service

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)
commitf6aa0d713c8862602e85e89f876b25185234aced
tree12f84062a0d43069c098ae96a26efd2fedc4e174
parentbcfc713f11f957711f9494f69c740b95ed335d57
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