diff options
author | 2021-06-29 17:12:02 +0200 | |
---|---|---|
committer | 2021-06-30 11:32:40 +0100 | |
commit | bf74a18ca8569ff1ac89501026a8218753f757f7 (patch) | |
tree | bea61dbe20d8e2d6035fad6fa5c2a1915f76cca5 /drivers/gpu/drm/i915/i915_request.c | |
parent | drm/i915/gem: Implement object migration (diff) | |
download | wireguard-linux-bf74a18ca8569ff1ac89501026a8218753f757f7.tar.xz wireguard-linux-bf74a18ca8569ff1ac89501026a8218753f757f7.zip |
drm/i915/gem: Introduce a selftest for the gem object migrate functionality
A selftest for the gem object migrate functionality. Slightly adapted
from the original by Matthew to the new interface and new fill blit
code.
v4:
- Initialize buffers and check contents after migration
(Suggested by Matthew Auld)
- Perform async migration (if implemented) in the igt_lmem_pages_migrate
test
- Test also migration to the current region.
Co-developed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com> #v3
Link: https://patchwork.freedesktop.org/patch/msgid/20210629151203.209465-3-thomas.hellstrom@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_request.c')
0 files changed, 0 insertions, 0 deletions