On Fri, Jun 21, 2024 at 12:15:06AM -0700, Alan Previn wrote: > 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@xxxxxxxxx> > --- > 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); interesting! o.O looking up to the initial_plane_bo and down to the drm_mm_insert node I don't believe this ever worked, right?! We were never reusing the plane and just getting the blank screen on the start until it got recreated? is there any link to any open issue or history? Reviewed-by: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx> > } else { > err = xe_ggtt_insert_bo(tile->mem.ggtt, bo); > } > > base-commit: cffd77865f476994680892601e09bc2164179907 > -- > 2.34.1 >