]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/svm: Fix regression disallowing 64K SVM migration
authorMaarten Lankhorst <dev@lankhorst.se>
Wed, 21 May 2025 09:01:02 +0000 (11:01 +0200)
committerMaarten Lankhorst <dev@lankhorst.se>
Wed, 4 Jun 2025 10:01:04 +0000 (12:01 +0200)
commit531bef26d189b28bf0d694878c0e064b30990b6c
treee363930d047e2b331fbfd49d001f9983d33815ee
parentc12c729e97508f4cd073a7cd5150d7512fa84f34
drm/xe/svm: Fix regression disallowing 64K SVM migration

When changing the condition from >= SZ_64K, it was changed to <= SZ_64K.
This disallows migration of 64K, which is the exact minimum allowed.

Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/5057
Fixes: a9ac0fa455b0 ("drm/xe: Strict migration policy for atomic SVM faults")
Cc: stable@vger.kernel.org
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
Link: https://lore.kernel.org/r/20250521090102.2965100-1-dev@lankhorst.se
drivers/gpu/drm/xe/xe_svm.c