Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 1/1] drm/xe/bo: Fix fixed placement ggtt pinning code
@ 2024-06-21  7:15 Alan Previn
  2024-06-21  7:20 ` ✓ CI.Patch_applied: success for series starting with [v1,1/1] " Patchwork
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Alan Previn @ 2024-06-21  7:15 UTC (permalink / raw)
  To: intel-xe; +Cc: Alan Previn, dri-devel, Maarten Lankhorst

When calling xe_bo_create_pin_map_at, use the correct
starting offset provided by caller at xe_ggtt_insert_bo_at.

Fixes: 44e694958b95 ("drm/xe/display: Implement display support")
Signed-off-by: Alan Previn <alan.previn.teres.alexis@intel.com>
---
 drivers/gpu/drm/xe/xe_bo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_bo.c b/drivers/gpu/drm/xe/xe_bo.c
index 74294f1b05bc..cc6101b49c08 100644
--- a/drivers/gpu/drm/xe/xe_bo.c
+++ b/drivers/gpu/drm/xe/xe_bo.c
@@ -1436,7 +1436,7 @@ __xe_bo_create_locked(struct xe_device *xe,
 
 		if (flags & XE_BO_FLAG_FIXED_PLACEMENT) {
 			err = xe_ggtt_insert_bo_at(tile->mem.ggtt, bo,
-						   start + bo->size, U64_MAX);
+						   start, end);
 		} else {
 			err = xe_ggtt_insert_bo(tile->mem.ggtt, bo);
 		}

base-commit: cffd77865f476994680892601e09bc2164179907
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-06-21 14:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-21  7:15 [PATCH v1 1/1] drm/xe/bo: Fix fixed placement ggtt pinning code Alan Previn
2024-06-21  7:20 ` ✓ CI.Patch_applied: success for series starting with [v1,1/1] " Patchwork
2024-06-21  7:20 ` ✓ CI.checkpatch: " Patchwork
2024-06-21  7:21 ` ✓ CI.KUnit: " Patchwork
2024-06-21  7:33 ` ✓ CI.Build: " Patchwork
2024-06-21  7:35 ` ✗ CI.Hooks: failure " Patchwork
2024-06-21  7:37 ` ✓ CI.checksparse: success " Patchwork
2024-06-21  8:05 ` ✓ CI.BAT: " Patchwork
2024-06-21  9:24 ` [PATCH v1 1/1] " Matthew Auld
2024-06-21  9:40 ` ✗ CI.FULL: failure for series starting with [v1,1/1] " Patchwork
2024-06-21 14:49 ` [PATCH v1 1/1] " Rodrigo Vivi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox