diff options
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2023-09-29 20:31:02 +0300 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-21 19:42:09 +0300 |
commit | 5f01a35b10f3d2f55634a471c43e59e3c6f239fd (patch) | |
tree | 9c91dbe565a438f9bb4f17b2688ef54f87cb25e0 /drivers/gpu/drm/xe/xe_vm.c | |
parent | 71d0a32524f98ebb5034d74f204b613bf06e6925 (diff) | |
download | linux-5f01a35b10f3d2f55634a471c43e59e3c6f239fd.tar.xz |
drm/xe/vm: print the correct 'keep' when printing gpuva ops
Unions are cool, until they aren't.
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_vm.c')
-rw-r--r-- | drivers/gpu/drm/xe/xe_vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_vm.c b/drivers/gpu/drm/xe/xe_vm.c index 42a5d912e775..ae5578a3e121 100644 --- a/drivers/gpu/drm/xe/xe_vm.c +++ b/drivers/gpu/drm/xe/xe_vm.c @@ -2345,7 +2345,7 @@ static void print_op(struct xe_device *xe, struct drm_gpuva_op *op) vma = gpuva_to_vma(op->remap.unmap->va); vm_dbg(&xe->drm, "REMAP:UNMAP: addr=0x%016llx, range=0x%016llx, keep=%d", (ULL)xe_vma_start(vma), (ULL)xe_vma_size(vma), - op->unmap.keep ? 1 : 0); + op->remap.unmap->keep ? 1 : 0); if (op->remap.prev) vm_dbg(&xe->drm, "REMAP:PREV: addr=0x%016llx, range=0x%016llx", |