diff options
| author | Matthew Auld <matthew.auld@intel.com> | 2025-04-03 11:24:46 +0100 |
|---|---|---|
| committer | Matthew Auld <matthew.auld@intel.com> | 2025-04-04 11:41:08 +0100 |
| commit | 8e8e9c26631c4305cc0e3a18c625cb8e5cf110bf (patch) | |
| tree | f07dc01ce5d4529fa94f1d7f6250a959f1eca0f2 /drivers/gpu/drm/xe/xe_lmtt.c | |
| parent | 7f387e6012b67592420c9ac92fd82911232ddd39 (diff) | |
| download | linux-next-8e8e9c26631c4305cc0e3a18c625cb8e5cf110bf.tar.gz linux-next-8e8e9c26631c4305cc0e3a18c625cb8e5cf110bf.zip | |
drm/xe: unconditionally apply PINNED for pin_map()
Some users apply PINNED and some don't when using pin_map(). The pin in
pin_map() should imply PINNED so just unconditionally apply it and clean
up all users.
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Link: https://lore.kernel.org/r/20250403102440.266113-14-matthew.auld@intel.com
Diffstat (limited to 'drivers/gpu/drm/xe/xe_lmtt.c')
| -rw-r--r-- | drivers/gpu/drm/xe/xe_lmtt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_lmtt.c b/drivers/gpu/drm/xe/xe_lmtt.c index 89393dcb53d9..63db66df064b 100644 --- a/drivers/gpu/drm/xe/xe_lmtt.c +++ b/drivers/gpu/drm/xe/xe_lmtt.c @@ -71,7 +71,7 @@ static struct xe_lmtt_pt *lmtt_pt_alloc(struct xe_lmtt *lmtt, unsigned int level lmtt->ops->lmtt_pte_num(level)), ttm_bo_type_kernel, XE_BO_FLAG_VRAM_IF_DGFX(lmtt_to_tile(lmtt)) | - XE_BO_FLAG_NEEDS_64K | XE_BO_FLAG_PINNED); + XE_BO_FLAG_NEEDS_64K); if (IS_ERR(bo)) { err = PTR_ERR(bo); goto out_free_pt; |
