Home
last modified time | relevance | path

Searched refs:ban_memcpy (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_migrate.c292 int fail_gpu, fail_alloc, ban_memcpy, ret; in igt_lmem_pages_failsafe_migrate() local
297 for (ban_memcpy = 0; ban_memcpy < 2; ++ban_memcpy) { in igt_lmem_pages_failsafe_migrate()
299 fail_gpu, fail_alloc, ban_memcpy); in igt_lmem_pages_failsafe_migrate()
300 i915_ttm_migrate_set_ban_memcpy(ban_memcpy); in igt_lmem_pages_failsafe_migrate()
305 ban_memcpy && in igt_lmem_pages_failsafe_migrate()
308 if (ban_memcpy && fail_gpu) { in igt_lmem_pages_failsafe_migrate()
450 int fail_gpu, fail_alloc, ban_memcpy, ret; in igt_lmem_async_migrate() local
455 for (ban_memcpy = 0; ban_memcpy < 2; ++ban_memcpy) { in igt_lmem_async_migrate()
457 fail_gpu, fail_alloc, ban_memcpy); in igt_lmem_async_migrate()
458 i915_ttm_migrate_set_ban_memcpy(ban_memcpy); in igt_lmem_async_migrate()
[all …]
/openbmc/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_ttm_move.c36 static bool ban_memcpy; variable
47 ban_memcpy = ban; in i915_ttm_migrate_set_ban_memcpy()
464 return I915_SELFTEST_ONLY(ban_memcpy) ? false : true; in i915_ttm_memcpy_allowed()