diff options
author | Matthew Auld <matthew.auld@intel.com> | 2021-06-29 17:12:02 +0200 |
---|---|---|
committer | Matthew Auld <matthew.auld@intel.com> | 2021-06-30 11:32:40 +0100 |
commit | bf74a18ca8569ff1ac89501026a8218753f757f7 (patch) | |
tree | bea61dbe20d8e2d6035fad6fa5c2a1915f76cca5 /drivers/gpu/drm/drm_gem_vram_helper.c | |
parent | b6e913e19c54eddd6a4d637969f5c079effb74c6 (diff) |
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/drm_gem_vram_helper.c')
0 files changed, 0 insertions, 0 deletions