From: "Govindapillai, Vinod" <vinod.govindapillai@intel.com>
To: "intel-xe@lists.freedesktop.org" <intel-xe@lists.freedesktop.org>,
"Nikula, Jani" <jani.nikula@intel.com>,
"intel-gfx@lists.freedesktop.org"
<intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH v2 2/4] drm/xe/stolen: unify interface with i915
Date: Tue, 9 Dec 2025 13:34:36 +0000 [thread overview]
Message-ID: <decb2d150020bb8514374477ab598eb950dc117d.camel@intel.com> (raw)
In-Reply-To: <e1ae0c5d3cc6f59d6e4f4ce810a6e9b3870109f8.1764930576.git.jani.nikula@intel.com>
On Fri, 2025-12-05 at 12:30 +0200, Jani Nikula wrote:
> Have i915_gem_stolen_node_offset() return u64, and pass const pointer
> to
> them.
>
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
> ---
> drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_stolen.h | 4 ++-
> -
> drivers/gpu/drm/xe/display/xe_stolen.c | 4 ++-
> -
> 2 files changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
>
> diff --git a/drivers/gpu/drm/xe/compat-i915-
> headers/gem/i915_gem_stolen.h b/drivers/gpu/drm/xe/compat-i915-
> headers/gem/i915_gem_stolen.h
> index 48e3256ba37e..368045a470d1 100644
> --- a/drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_stolen.h
> +++ b/drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_stolen.h
> @@ -23,13 +23,13 @@ bool i915_gem_stolen_initialized(struct
> drm_device *drm);
>
> bool i915_gem_stolen_node_allocated(const struct intel_stolen_node
> *node);
>
> -u32 i915_gem_stolen_node_offset(struct intel_stolen_node *node);
> +u64 i915_gem_stolen_node_offset(const struct intel_stolen_node
> *node);
>
> u64 i915_gem_stolen_area_address(struct drm_device *drm);
>
> u64 i915_gem_stolen_area_size(struct drm_device *drm);
>
> -u64 i915_gem_stolen_node_address(struct intel_stolen_node *node);
> +u64 i915_gem_stolen_node_address(const struct intel_stolen_node
> *node);
>
> u64 i915_gem_stolen_node_size(const struct intel_stolen_node *node);
>
> diff --git a/drivers/gpu/drm/xe/display/xe_stolen.c
> b/drivers/gpu/drm/xe/display/xe_stolen.c
> index 9f04ba36e930..387506586288 100644
> --- a/drivers/gpu/drm/xe/display/xe_stolen.c
> +++ b/drivers/gpu/drm/xe/display/xe_stolen.c
> @@ -67,7 +67,7 @@ bool i915_gem_stolen_node_allocated(const struct
> intel_stolen_node *node)
> return node->bo;
> }
>
> -u32 i915_gem_stolen_node_offset(struct intel_stolen_node *node)
> +u64 i915_gem_stolen_node_offset(const struct intel_stolen_node
> *node)
> {
> struct xe_res_cursor res;
>
> @@ -91,7 +91,7 @@ u64 i915_gem_stolen_area_size(struct drm_device
> *drm)
> return 0;
> }
>
> -u64 i915_gem_stolen_node_address(struct intel_stolen_node *node)
> +u64 i915_gem_stolen_node_address(const struct intel_stolen_node
> *node)
> {
> struct xe_device *xe = node->xe;
>
next prev parent reply other threads:[~2025-12-09 13:34 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-05 10:30 [PATCH v2 0/4] drm/{i915, xe}: migrate stolen interface to parent interface, cleanups Jani Nikula
2025-12-05 10:30 ` [PATCH v2 1/4] drm/i915/fbc: let to_intel_display() do its generic magic Jani Nikula
2025-12-09 13:25 ` Govindapillai, Vinod
2025-12-05 10:30 ` [PATCH v2 2/4] drm/xe/stolen: unify interface with i915 Jani Nikula
2025-12-09 13:34 ` Govindapillai, Vinod [this message]
2025-12-05 10:30 ` [PATCH v2 3/4] drm/{i915, xe}/stolen: move stolen memory handling to display parent interface Jani Nikula
2025-12-09 14:15 ` Govindapillai, Vinod
2025-12-05 10:30 ` [PATCH v2 4/4] drm/{i915, xe}/stolen: make insert_node, area_address, area_size optional Jani Nikula
2025-12-09 14:16 ` Govindapillai, Vinod
2025-12-05 11:45 ` ✗ CI.checkpatch: warning for drm/{i915, xe}: migrate stolen interface to parent interface, cleanups (rev2) Patchwork
2025-12-05 11:46 ` ✓ CI.KUnit: success " Patchwork
2025-12-05 12:01 ` ✗ CI.checksparse: warning " Patchwork
2025-12-05 12:49 ` ✓ Xe.CI.BAT: success " Patchwork
2025-12-05 14:30 ` ✗ Xe.CI.Full: 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=decb2d150020bb8514374477ab598eb950dc117d.camel@intel.com \
--to=vinod.govindapillai@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=jani.nikula@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