[Intel-gfx] [PATCH i-g-t v2] i915/gem_ctx_isolation: Check nonpriv values are kept across switch

Michał Winiarski michal.winiarski at intel.com
Mon Sep 30 10:44:30 UTC 2019


On Fri, Sep 27, 2019 at 02:28:34PM +0100, Chris Wilson wrote:
> Verify that the values we store in our nonpriv context image registers
> are restored after a switch.
> 
> v2: Use explicit ordering to ensure we force the context switch back and
> forth in between the register writes and their read.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Michał Winiarski <michal.winiarski at intel.com>

Reviewed-by: Michał Winiarski <michal.winiarski at intel.com>

-Michał

> ---
>  tests/i915/gem_ctx_isolation.c | 31 +++++++++++++++++++++++++++++++
>  1 file changed, 31 insertions(+)


More information about the Intel-gfx mailing list