From: Michal Wajdeczko <michal.wajdeczko@intel.com>
To: Maarten Lankhorst <dev@lankhorst.se>, <intel-xe@lists.freedesktop.org>
Cc: Matthew Brost <matthew.brost@intel.com>
Subject: Re: [PATCH v7 2/5] drm/xe: Rewrite GGTT VF initialization
Date: Fri, 30 Jan 2026 01:18:35 +0100 [thread overview]
Message-ID: <268d4236-3188-4903-9c84-7e3aaa3c8b5c@intel.com> (raw)
In-Reply-To: <20260128165724.12587-3-dev@lankhorst.se>
On 1/28/2026 5:57 PM, Maarten Lankhorst wrote:
> The previous code was using a complicated system with 2 balloons to
> set GGTT size and adjust GGTT offset. While it works, it's overly
> complicated.
>
> A better approach is to set the offset and size when initializing GGTT,
> this removes the need for adding balloons. The resize function only
> needs readjust ggtt->start to have GGTT at the new offset.
>
> This removes the need to manipulate the internals of xe_ggtt outside
> of xe_ggtt, and cleans up a lot of now unneeded code.
>
> Co-developed-by: Matthew Brost <matthew.brost@intel.com>
> Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
> ---
> Changelog:
> - Fix docbook description.
> - Simplify the vf_get_ggtt_info() flow and remove the shift calculation.
next prev parent reply other threads:[~2026-01-30 0:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-28 16:57 [PATCH v7 0/5] drm/xe: Privatize struct xe_ggtt Maarten Lankhorst
2026-01-28 16:57 ` [PATCH v7 1/5] drm/xe: Make xe_ggtt_node offset relative to starting offset Maarten Lankhorst
2026-01-28 16:57 ` [PATCH v7 2/5] drm/xe: Rewrite GGTT VF initialization Maarten Lankhorst
2026-01-30 0:18 ` Michal Wajdeczko [this message]
2026-01-28 16:57 ` [PATCH v7 3/5] drm/xe: Move struct xe_ggtt to xe_ggtt.c Maarten Lankhorst
2026-01-28 16:57 ` [PATCH v7 4/5] drm/xe: Make xe_ggtt_node_insert return a node Maarten Lankhorst
2026-01-28 16:57 ` [PATCH v7 5/5] drm/xe: Remove xe_ggtt_node_allocated Maarten Lankhorst
2026-01-30 0:20 ` Michal Wajdeczko
2026-01-28 20:28 ` ✗ CI.checkpatch: warning for drm/xe: Privatize struct xe_ggtt. (rev5) Patchwork
2026-01-28 20:29 ` ✓ CI.KUnit: success " Patchwork
2026-01-28 21:17 ` ✗ Xe.CI.BAT: failure " Patchwork
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=268d4236-3188-4903-9c84-7e3aaa3c8b5c@intel.com \
--to=michal.wajdeczko@intel.com \
--cc=dev@lankhorst.se \
--cc=intel-xe@lists.freedesktop.org \
--cc=matthew.brost@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