diff options
author | 2024-08-01 08:41:16 -0700 | |
---|---|---|
committer | 2024-08-01 10:58:59 -0700 | |
commit | c3bc97d2f102ddd5a8341eeb2dbae2a3e98bb46a (patch) | |
tree | 4311d176c0a3b2a6aede810d2cdb941e581c8458 /drivers/gpu/drm/drm_print.c | |
parent | drm/xe/hwmon: Fix PL1 disable flow in xe_hwmon_power_max_write (diff) | |
download | wireguard-linux-c3bc97d2f102ddd5a8341eeb2dbae2a3e98bb46a.tar.xz wireguard-linux-c3bc97d2f102ddd5a8341eeb2dbae2a3e98bb46a.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 <maarten.lankhorst@linux.intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240801154118.2547543-2-matthew.brost@intel.com
Diffstat (limited to 'drivers/gpu/drm/drm_print.c')
0 files changed, 0 insertions, 0 deletions