[Intel-gfx] [PATCH i-g-t] lib: Move trash_bos to their only user

Chris Wilson chris at chris-wilson.co.uk
Thu Jul 19 10:32:03 UTC 2018


Quoting Michał Winiarski (2018-07-19 11:24:05)
> On Wed, Jul 18, 2018 at 11:56:27AM +0100, Chris Wilson wrote:
> > Only pm_rpm still uses the igt_trash_aperture() and so we can remove it
> > from the lib and in the process convert it over from the legacy
> > libdrm_intel.
> > 
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Michał Winiarski <michal.winiarski at intel.com>
> 
> I'm not sure what the test is testing exactly, but since it's a straight forward
> conversion from libdrm_intel with no functional changes:

Yeah, I guess it's trying to cover paths through pwrite+rpm. I don't
really see it as a tractable problem without using say kprobe+bpf to
steer us?
-Chris


More information about the Intel-gfx mailing list