From: Matthew Auld <matthew.auld@intel.com>
To: Xin Wang <x.wang@intel.com>, intel-xe@lists.freedesktop.org
Cc: Matt Roper <matthew.d.roper@intel.com>
Subject: Re: [PATCH v5] drm/xe: Allow compressible surfaces to be 1-way coherent
Date: Fri, 9 Jan 2026 09:34:38 +0000 [thread overview]
Message-ID: <4a7d4dd2-8c3d-4f1e-946f-c3ecc5c9f4a7@intel.com> (raw)
In-Reply-To: <20260109093007.546784-1-x.wang@intel.com>
On 09/01/2026 09:30, Xin Wang wrote:
> Previously, compressible surfaces were required to be non-coherent (allocated
> as WC) because compression and coherency were mutually exclusive. Starting
> with Xe3, hardware supports combining compression with 1-way coherency,
> allowing compressible surfaces to be allocated as WB memory. This provides
> applications with more efficient memory allocation by avoiding WC allocation
> overhead that can cause system stuttering and memory management challenges.
>
> The implementation adds support for compressed+coherent PAT entry for the
> xe3_lpg devices and updates the driver logic to handle the new compression
> capabilities.
>
> v2: (Matthew Auld)
> - Improved error handling with XE_IOCTL_DBG()
> - Enhanced documentation and comments
> - Fixed xe_bo_needs_ccs_pages() outdated compression assumptions
>
> v3:
> - Improve WB compression support detection by checking PAT table instead
> of version check
>
> v4:
> - Add XE_CACHE_WB_COMPRESSION, which simplifies the logic.
>
> v5:
> - Use U16_MAX for the invalid PAT index. (Matthew Auld)
>
> Bspec: 71582, 59361, 59399
> Cc: Matthew Auld <matthew.auld@intel.com>
> Cc: Matt Roper <matthew.d.roper@intel.com>
> Signed-off-by: Xin Wang <x.wang@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
next prev parent reply other threads:[~2026-01-09 9:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-09 9:30 [PATCH v5] drm/xe: Allow compressible surfaces to be 1-way coherent Xin Wang
2026-01-09 9:34 ` Matthew Auld [this message]
2026-01-09 10:39 ` ✗ CI.checkpatch: warning for drm/xe: Allow compressible surfaces to be 1-way coherent (rev6) Patchwork
2026-01-09 10:40 ` ✓ CI.KUnit: success " Patchwork
2026-01-09 11:22 ` ✓ Xe.CI.BAT: " Patchwork
2026-01-09 13:22 ` ✓ Xe.CI.Full: " Patchwork
2026-01-09 22:58 ` Matt Roper
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=4a7d4dd2-8c3d-4f1e-946f-c3ecc5c9f4a7@intel.com \
--to=matthew.auld@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=matthew.d.roper@intel.com \
--cc=x.wang@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