]> www.infradead.org Git - users/willy/linux.git/commit
drm/xe: Set XE_BO_FLAG_PINNED in migrate selftest BOs
authorMatthew Brost <matthew.brost@intel.com>
Tue, 26 Nov 2024 17:46:14 +0000 (09:46 -0800)
committerMatthew Brost <matthew.brost@intel.com>
Thu, 28 Nov 2024 00:38:55 +0000 (16:38 -0800)
commite03b0aa67ac0106d8961581a426649fabab50827
tree372432de48ea6b4c50772b0c7f5cfd328059ac0b
parent5f7bec831f1f17c354e4307a12cf79b018296975
drm/xe: Set XE_BO_FLAG_PINNED in migrate selftest BOs

We only allow continguous BOs to be vmapped, set XE_BO_FLAG_PINNED on
BOs in migrate selftest as this forces continguous BOs and selftest uses
vmaps.

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241126174615.2665852-8-matthew.brost@intel.com
drivers/gpu/drm/xe/tests/xe_migrate.c