]> git.ipfire.org Git - thirdparty/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>
Thu, 11 Dec 2025 10:15:32 +0000 (11:15 +0100)
commita4ebfb9d95d78a12512b435a698ee6886d712571
tree75dd639bbf724583fd08c7ae2bb312d36bd49fb8
parent8e011f6d08abcd740a9c5157b2f79512a579bced
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
drivers/gpu/drm/xe/xe_dma_buf.c