From: Matthew Auld <matthew.auld@intel.com>
To: Sanjay Yadav <sanjay.kumar.yadav@intel.com>,
intel-xe@lists.freedesktop.org
Subject: Re: [PATCH] drm/xe/uapi: Add documentation for DRM_XE_GEM_CREATE_FLAG_SCANOUT
Date: Wed, 15 Oct 2025 09:47:36 +0100 [thread overview]
Message-ID: <baedfa4e-3ace-446b-bbf5-ceabf41f600e@intel.com> (raw)
In-Reply-To: <20251014142823.3701228-2-sanjay.kumar.yadav@intel.com>
On 14/10/2025 15:28, Sanjay Yadav wrote:
> Add documentation for drm_xe_gem_create structure flag
> DRM_XE_GEM_CREATE_FLAG_SCANOUT.
>
> Signed-off-by: Sanjay Yadav <sanjay.kumar.yadav@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
> ---
> include/uapi/drm/xe_drm.h | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/include/uapi/drm/xe_drm.h b/include/uapi/drm/xe_drm.h
> index 40ff19f52a8d..2d7945cda739 100644
> --- a/include/uapi/drm/xe_drm.h
> +++ b/include/uapi/drm/xe_drm.h
> @@ -771,7 +771,11 @@ struct drm_xe_device_query {
> * until the object is either bound to a virtual memory region via
> * VM_BIND or accessed by the CPU. As a result, no backing memory is
> * reserved at the time of GEM object creation.
> - * - %DRM_XE_GEM_CREATE_FLAG_SCANOUT
> + * - %DRM_XE_GEM_CREATE_FLAG_SCANOUT - Indicates that the GEM object is
> + * intended for scanout via the display engine. When set, kernel ensures
> + * that the allocation is placed in a memory region compatible with the
> + * display engine requirements. This may impose restrictions on tiling,
> + * alignment, and memory placement to guarantee proper display functionality.
> * - %DRM_XE_GEM_CREATE_FLAG_NEEDS_VISIBLE_VRAM - When using VRAM as a
> * possible placement, ensure that the corresponding VRAM allocation
> * will always use the CPU accessible part of VRAM. This is important
prev parent reply other threads:[~2025-10-15 8:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-14 14:28 [PATCH] drm/xe/uapi: Add documentation for DRM_XE_GEM_CREATE_FLAG_SCANOUT Sanjay Yadav
2025-10-14 14:39 ` ✓ CI.KUnit: success for " Patchwork
2025-10-14 15:14 ` ✓ Xe.CI.BAT: " Patchwork
2025-10-15 0:24 ` ✓ Xe.CI.Full: " Patchwork
2025-10-15 8:47 ` Matthew Auld [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=baedfa4e-3ace-446b-bbf5-ceabf41f600e@intel.com \
--to=matthew.auld@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=sanjay.kumar.yadav@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.