OSDN Git Service

drm/i915: Force an aliasing_ppgtt test for context execution
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Feb 2017 17:15:51 +0000 (17:15 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Feb 2017 20:46:46 +0000 (20:46 +0000)
commit92fdf8d4a39a9545c27b7ec2d5b138ff8cde5f91
treede4b0e3d5b0deeb310a4423cb727b6ad1ec92fec
parent6cde9a02e001532744a56052b2aecbda8c51bf16
drm/i915: Force an aliasing_ppgtt test for context execution

Ensure that we minimally exercise the aliasing_ppgtt, even on a
full-ppgtt, by allocating one and similarly creating a context to use
it.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170213171558.20942-40-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/i915_gem_context.c