diff options
| author | Christian König <[email protected]> | 2017-03-13 09:13:38 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-03-30 03:54:01 +0000 |
| commit | dc54d3d1744d23ed0b345fd8bc1c493b74e8df44 (patch) | |
| tree | 7cbdaf7c7edfe9bd86329737fdd5014b747594fd /drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h | |
| parent | drm/amdgpu: separate page table allocation from mapping (diff) | |
| download | kernel-dc54d3d1744d23ed0b345fd8bc1c493b74e8df44.tar.gz kernel-dc54d3d1744d23ed0b345fd8bc1c493b74e8df44.zip | |
drm/amdgpu: implement AMDGPU_VA_OP_CLEAR v2
A new VM operation to remove all mappings in a range.
v2: limit unmapped area as noted by Jerry
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Junwei Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h index 08ccb3d34b21..3e955190f013 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h @@ -188,7 +188,7 @@ TRACE_EVENT(amdgpu_vm_bo_map, ), TP_fast_assign( - __entry->bo = bo_va->bo; + __entry->bo = bo_va ? bo_va->bo : NULL; __entry->start = mapping->it.start; __entry->last = mapping->it.last; __entry->offset = mapping->offset; |
