]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/bo: Don't include the CCS metadata in the dma-buf sg-table
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Tue, 9 Dec 2025 20:49:20 +0000 (21:49 +0100)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Mon, 15 Dec 2025 13:16:39 +0000 (14:16 +0100)
commit449bcd5d45eb4ce26740f11f8601082fe734bed2
tree40fc8339e0ad60d822ce95ecc16fcce50cab0fe9
parent17445af7dcc7d645b6fb8951fd10c8b72cc7f23f
drm/xe/bo: Don't include the CCS metadata in the dma-buf sg-table

Some Xe bos are allocated with extra backing-store for the CCS
metadata. It's never been the intention to share the CCS metadata
when exporting such bos as dma-buf. Don't include it in the
dma-buf sg-table.

Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: <stable@vger.kernel.org> # v6.8+
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Karol Wachowski <karol.wachowski@linux.intel.com>
Link: https://patch.msgid.link/20251209204920.224374-1-thomas.hellstrom@linux.intel.com
(cherry picked from commit a4ebfb9d95d78a12512b435a698ee6886d712571)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
drivers/gpu/drm/xe/xe_dma_buf.c