[igt-dev] [PATCH i-g-t] tests/prime_self_import: Swap gtt mapping for cpu

Chris Wilson chris at chris-wilson.co.uk
Thu Feb 21 23:37:16 UTC 2019


Quoting Antonio Argenziano (2019-02-21 22:38:59)
> The test uses gtt mapping to check two BOs have the same content, since
> it seems there is no contention on the BOs use cpu mapping to make it
> compatible with platforms that do not have a mappable aperture.
> 
> v2:
>         - Need to have an explicit set_domain. (Chris)
> 
> Signed-off-by: Antonio Argenziano <antonio.argenziano at intel.com>

I don't think has any semantic impact, so no need to verify every write
to one of the cloned fd is visible in the other, just once is enough.

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the igt-dev mailing list