]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/xe: Only allow contiguous BOs to use xe_bo_vmap
authorMatthew Brost <matthew.brost@intel.com>
Tue, 26 Nov 2024 17:46:15 +0000 (09:46 -0800)
committerMatthew Brost <matthew.brost@intel.com>
Thu, 28 Nov 2024 00:38:56 +0000 (16:38 -0800)
commit54254727837440966c3381ea688df002ff14f269
tree3efd1380550ad7023a6d50d0db1f732845cb5608
parente03b0aa67ac0106d8961581a426649fabab50827
drm/xe: Only allow contiguous BOs to use xe_bo_vmap

xe_bo_vmap only works on contiguous BOs, disallow xe_bo_vmap on BO
unless we are certain the BO is contiguous.

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-9-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_bo.c