diff options
author | Timo Alho <talho@nvidia.com> | 2017-11-03 08:29:12 -0400 |
---|---|---|
committer | Jani Uusi-Rantala <juusirantala@nvidia.com> | 2017-11-03 11:36:50 -0400 |
commit | fe1e09d473044f7caaf8b834a094f4784bc5f5e1 (patch) | |
tree | a8ec4ae3c1f1c136012317ee09cc178ffe0280d8 /drivers/gpu/nvgpu/include | |
parent | de399ccb0019513a5f9e8f2bcadb02486f99bc80 (diff) |
Revert "gpu: nvgpu: fix patch buf count update for vidmem"
This reverts commit de399ccb0019513a5f9e8f2bcadb02486f99bc80.
Bug 2012077
Change-Id: Ie608c3b41aa91f9aaed3fad240ed882a0c6f1ea2
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1591423
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/nvgpu_mem.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/nvgpu_mem.h b/drivers/gpu/nvgpu/include/nvgpu/nvgpu_mem.h index bae50347..6feacff7 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/nvgpu_mem.h +++ b/drivers/gpu/nvgpu/include/nvgpu/nvgpu_mem.h | |||
@@ -122,7 +122,6 @@ struct nvgpu_mem { | |||
122 | size_t aligned_size; | 122 | size_t aligned_size; |
123 | u64 gpu_va; | 123 | u64 gpu_va; |
124 | bool skip_wmb; | 124 | bool skip_wmb; |
125 | bool cpu_accessible; | ||
126 | 125 | ||
127 | /* | 126 | /* |
128 | * Set when a nvgpu_mem struct is not a "real" nvgpu_mem struct. Instead | 127 | * Set when a nvgpu_mem struct is not a "real" nvgpu_mem struct. Instead |
@@ -212,15 +211,6 @@ static inline bool nvgpu_mem_is_valid(struct nvgpu_mem *mem) | |||
212 | } | 211 | } |
213 | 212 | ||
214 | /* | 213 | /* |
215 | * Returns true if the passed nvgpu_mem can be accessed by the CPU by virtue | ||
216 | * of having called nvgpu_mem_begin successfully. | ||
217 | */ | ||
218 | static inline bool nvgpu_mem_cpu_accessible(struct nvgpu_mem *mem) | ||
219 | { | ||
220 | return mem->cpu_accessible; | ||
221 | } | ||
222 | |||
223 | /* | ||
224 | * Create a nvgpu_sgt of the default implementation | 214 | * Create a nvgpu_sgt of the default implementation |
225 | */ | 215 | */ |
226 | struct nvgpu_sgt *nvgpu_sgt_create(struct gk20a *g); | 216 | struct nvgpu_sgt *nvgpu_sgt_create(struct gk20a *g); |