[igt-dev] [RFC i-g-t 11/11] Verify gem_execbuf fails with stale PXP buffer after teardown

Teres Alexis, Alan Previn alan.previn.teres.alexis at intel.com
Thu Mar 4 19:14:26 UTC 2021


Understood - will add the why into the commit message.
...alan

-----Original Message-----
From: Chris Wilson <chris at chris-wilson.co.uk> 
Sent: Wednesday, March 3, 2021 4:02 PM
To: Teres Alexis, Alan Previn <alan.previn.teres.alexis at intel.com>; igt-dev at lists.freedesktop.org
Cc: Teres Alexis, Alan Previn <alan.previn.teres.alexis at intel.com>
Subject: Re: [igt-dev] [RFC i-g-t 11/11] Verify gem_execbuf fails with stale PXP buffer after teardown

Quoting Alan Previn (2021-03-02 22:53:34)
> Add a subtest to verify that reusing a stale protected buffer with a 
> fresh protected context, in a gem_execbuff after a teardown (triggered 
> by suspend-resume cycle) shall fail with -EIO error.

I'm used to having a rationale as to why that is the uABI. We can read the code, but not the why.
-Chris


More information about the igt-dev mailing list