[PATCH 2/3] drm/i915/selftests: Skip poisoning SET_PREDICATE_RESULT on dg2

Matthew Auld matthew.william.auld at gmail.com
Fri Apr 29 12:36:37 UTC 2022


On Mon, 25 Apr 2022 at 16:22, Ramalingam C <ramalingam.c at intel.com> wrote:
>
> From: Chris Wilson <chris.p.wilson at intel.com>
>
> When predication is enabled all commands baring a few (such as MI_BB_END)
> are nop'ed. If we accidentally enable predication while poisoning the
> context, not only is the rest of the poisoning skipped (thus disabling
> the test), but the closing instructions of the poison request are
> nop'ed. Not only do we then not signal the waiting context, but we even
> prevent re-enabling arbitration and the GPU will not perform a context
> switch at the end of the request.
>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> Suggested-by: CQ Tang <cq.tang at intel.com>
> Signed-off-by: Chris Wilson <chris.p.wilson at intel.com>
> Signed-off-by: Ramalingam C <ramalingam.c at intel.com>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the dri-devel mailing list