diff options
| author | Matthew Brost <[email protected]> | 2024-08-01 15:41:16 +0000 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2024-08-08 17:48:01 +0000 |
| commit | 642dfc9d5964b26f66fa6c28ce2861e11f9232aa (patch) | |
| tree | 74ba247be3f043dca3b7c7ccc4c8a451d42a91dc /drivers/fpga/tests/fpga-bridge-test.c | |
| parent | drm/xe/hwmon: Fix PL1 disable flow in xe_hwmon_power_max_write (diff) | |
| download | kernel-642dfc9d5964b26f66fa6c28ce2861e11f9232aa.tar.gz kernel-642dfc9d5964b26f66fa6c28ce2861e11f9232aa.zip | |
drm/xe: Take ref to VM in delayed snapshot
Kernel BO's don't take a ref to the VM, we need the VM for the
delayed snapshot, so take a ref to the VM in delayed snapshot.
v2:
- Check for lrc_bo before taking a VM ref (CI)
- Check lrc_bo->vm before taking / dropping a VM ref (CI)
- Drop VM in xe_lrc_snapshot_free
v5:
- Fix commit message wording (Johnathan)
Fixes: 47058633d9c5 ("drm/xe: Move lrc snapshot capturing to xe_lrc.c")
Cc: Maarten Lankhorst <[email protected]>
Signed-off-by: Matthew Brost <[email protected]>
Reviewed-by: Jonathan Cavitt <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit c3bc97d2f102ddd5a8341eeb2dbae2a3e98bb46a)
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-bridge-test.c')
0 files changed, 0 insertions, 0 deletions
