diff options
author | Sami Kiminki <skiminki@nvidia.com> | 2017-11-13 07:32:29 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-11-15 16:26:06 -0500 |
commit | 1f28b429a2fb73a260e0c9fe112dbbc6981ef4b4 (patch) | |
tree | 1f408ffccb9b6e45f65119d75d144b34592940b6 /drivers/gpu/nvgpu/include | |
parent | 23396c58db7e9d9c974bb3334a159aad960afc3e (diff) |
gpu: nvgpu: Always do full buffer compbits allocs
Remove parameter 'lines' from gk20a_alloc_or_get_comptags() and
nvgpu_ctag_buffer_info. We're always doing full buffer allocs
anyways. This simplifies the code a bit.
Bug 1902982
Change-Id: Iacfc9cdba8cb75b31a7d44b175660252e09d605d
Signed-off-by: Sami Kiminki <skiminki@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1597131
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/comptags.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/comptags.h b/drivers/gpu/nvgpu/include/nvgpu/comptags.h index 41a918b5..99e2d657 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/comptags.h +++ b/drivers/gpu/nvgpu/include/nvgpu/comptags.h | |||
@@ -71,7 +71,6 @@ void gk20a_comptaglines_free(struct gk20a_comptag_allocator *allocator, | |||
71 | int gk20a_alloc_or_get_comptags(struct gk20a *g, | 71 | int gk20a_alloc_or_get_comptags(struct gk20a *g, |
72 | struct nvgpu_os_buffer *buf, | 72 | struct nvgpu_os_buffer *buf, |
73 | struct gk20a_comptag_allocator *allocator, | 73 | struct gk20a_comptag_allocator *allocator, |
74 | u32 lines, | ||
75 | struct gk20a_comptags *comptags); | 74 | struct gk20a_comptags *comptags); |
76 | void gk20a_get_comptags(struct nvgpu_os_buffer *buf, | 75 | void gk20a_get_comptags(struct nvgpu_os_buffer *buf, |
77 | struct gk20a_comptags *comptags); | 76 | struct gk20a_comptags *comptags); |