Re: [PATCH i-g-t v3] tests/gem_userptr_blits: Refresh map-fixed-invalidate* subtests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Janusz Krzysztofik (2020-02-26 12:57:46)
> map-fixed-invalidate* subtests utilize gem_set_tiling() which may fail,
> e.g. on hardware with no mappable aperture, due to missing fences.
> Skip those subtests if fences are not available.
> 
> Moreover, those subtests use GEM_MMAP_GTT IOCTL which has been replaced
> by GEM_MMAP_OFFSET that supports other mapping types, not only GTT.
> Use the new IOCTL and dynamically examine all MMAP_OFFSET types
> supported by hardware.
> 
> v2: Examine all supported MMAP_OFFSET types, not only the first one
>     that works,
>   - add subtest description.
> v3: Refresh on top of commit 384e7ecb7464 ("lib/i915: Restrict mmap
>     types to GTT if no MMAP_OFFSET support").
> 
> Signed-off-by: Janusz Krzysztofik <janusz.krzysztofik@xxxxxxxxxxxxxxx>
> Cc: Michał Winiarski <michal.winiarski@xxxxxxxxx>
Lgtm,
Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux