From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: Alan Previn <alan.previn.teres.alexis@intel.com>
Cc: <intel-xe@lists.freedesktop.org>,
<dri-devel@lists.freedesktop.org>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Subject: Re: [PATCH v1 1/1] drm/xe/bo: Fix fixed placement ggtt pinning code
Date: Fri, 21 Jun 2024 10:49:34 -0400 [thread overview]
Message-ID: <ZnWS_vL37sJT9OQm@intel.com> (raw)
In-Reply-To: <20240621071506.912055-1-alan.previn.teres.alexis@intel.com>
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@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);
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@intel.com>
> } else {
> err = xe_ggtt_insert_bo(tile->mem.ggtt, bo);
> }
>
> base-commit: cffd77865f476994680892601e09bc2164179907
> --
> 2.34.1
>
prev parent reply other threads:[~2024-06-21 14:49 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Rodrigo Vivi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZnWS_vL37sJT9OQm@intel.com \
--to=rodrigo.vivi@intel.com \
--cc=alan.previn.teres.alexis@intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=maarten.lankhorst@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox