[Intel-gfx] [PATCH v4 3/8] drm/i915/selftests: Add live vma selftest
Chris Wilson
chris at chris-wilson.co.uk
Thu Jan 24 23:20:00 UTC 2019
Quoting Ville Syrjala (2019-01-24 19:11:57)
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> Add a live selftest to excercise rotated/remapped vmas. We simply
> write through the rotated/remapped vma, and confirm that the data
> appears in the right page when read through the normal vma.
>
> Not sure what the fallout of making all rotated/remapped vmas
> mappable/fenceable would be, hence I just hacked it in the test.
>
> v2: Grab rpm reference (Chris)
> GEM_BUG_ON(view.type not as expected) (Chris)
> Allow CAN_FENCE for rotated/remapped vmas (Chris)
> Update intel_plane_uses_fence() to ask for a fence
> only for normal vmas on gen4+
> v3: Deal with intel_wakeref_t
> v4: Rebase
>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris
More information about the Intel-gfx
mailing list