- move uvm bits to separate patch
[packages/xorg-driver-video-nvidia-legacy-390xx.git] / kernel-5.9-uvm.patch
1 diff --git a/kernel/nvidia-uvm/uvm8_tools.c b/kernel/nvidia-uvm/uvm8_tools.c
2 index 86dbb77..63d0b64 100644
3 --- a/kernel/nvidia-uvm/uvm8_tools.c
4 +++ b/kernel/nvidia-uvm/uvm8_tools.c
5 @@ -190,7 +190,6 @@ static uvm_tools_event_tracker_t *tools_event_tracker(struct file *filp)
6  {
7      long event_tracker = atomic_long_read((atomic_long_t *)&filp->private_data);
8  
9 -    smp_read_barrier_depends();
10      return (uvm_tools_event_tracker_t *)event_tracker;
11  }
12  
13 diff --git a/kernel/nvidia-uvm/uvm8_va_range.h b/kernel/nvidia-uvm/uvm8_va_range.h
14 index 8cae357..6166cc8 100644
15 --- a/kernel/nvidia-uvm/uvm8_va_range.h
16 +++ b/kernel/nvidia-uvm/uvm8_va_range.h
17 @@ -717,7 +717,6 @@ static uvm_va_block_t *uvm_va_range_block(uvm_va_range_t *va_range, size_t index
18      // make sure that any initialization of this block by the creating thread is
19      // visible to later accesses in this thread, which requires a data
20      // dependency barrier.
21 -    smp_read_barrier_depends();
22      return block;
23  }
24  
This page took 0.051518 seconds and 3 git commands to generate.