aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMatthew Auld <matthew.auld@intel.com>2025-04-07 15:18:25 +0100
committerAlex Deucher <alexander.deucher@amd.com>2025-04-07 14:31:45 -0400
commitc0dd8a9253fadfb8e5357217d085f1989da4ef0a (patch)
treed3df4e3b9123408e2005370d62941a5f589ca1e8 /tools/perf/scripts/python/exported-sql-viewer.py
parentdrm/amdgpu: immediately use GTT for new allocations (diff)
downloadlinux-rng-c0dd8a9253fadfb8e5357217d085f1989da4ef0a.tar.xz
linux-rng-c0dd8a9253fadfb8e5357217d085f1989da4ef0a.zip
drm/amdgpu/dma_buf: fix page_link check
The page_link lower bits of the first sg could contain something like SG_END, if we are mapping a single VRAM page or contiguous blob which fits into one sg entry. Rather pull out the struct page, and use that in our check to know if we mapped struct pages vs VRAM. Fixes: f44ffd677fb3 ("drm/amdgpu: add support for exporting VRAM using DMA-buf v3") Signed-off-by: Matthew Auld <matthew.auld@intel.com> Cc: Christian König <christian.koenig@amd.com> Cc: amd-gfx@lists.freedesktop.org Cc: <stable@vger.kernel.org> # v5.8+ Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions