diff options
| author | Zack Rusin <[email protected]> | 2024-08-16 14:32:06 -0400 |
|---|---|---|
| committer | Zack Rusin <[email protected]> | 2024-08-26 00:19:40 -0400 |
| commit | 50f1199250912568606b3778dc56646c10cb7b04 (patch) | |
| tree | 54dd6832aeb13e4189daa95ada6c3e0c658545f7 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | aba07b9a0587f50e5d3346eaa19019cf3f86c0ea (diff) | |
drm/vmwgfx: Fix prime with external buffers
Make sure that for external buffers mapping goes through the dma_buf
interface instead of trying to access pages directly.
External buffers might not provide direct access to readable/writable
pages so to make sure the bo's created from external dma_bufs can be
read dma_buf interface has to be used.
Fixes crashes in IGT's kms_prime with vgem. Regular desktop usage won't
trigger this due to the fact that virtual machines will not have
multiple GPUs but it enables better test coverage in IGT.
Signed-off-by: Zack Rusin <[email protected]>
Fixes: b32233acceff ("drm/vmwgfx: Fix prime import/export")
Cc: <[email protected]> # v6.6+
Cc: Broadcom internal kernel review list <[email protected]>
Cc: [email protected]
Cc: <[email protected]> # v6.9+
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Martin Krastev <[email protected]>
Reviewed-by: Maaz Mombasawala <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions