diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2018-01-24 16:06:37 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-01-31 18:31:45 -0500 |
commit | 8ca1a765ee066b9f04f39c69d8f3678c06557257 (patch) | |
tree | 563ba2d6fcc3ebdb4669b7e026b85dfd8ab299f8 /drivers/gpu/nvgpu/common/linux/dmabuf.h | |
parent | f229149f97248a6725aa66d5ed0c089a10d8e309 (diff) |
gpu: nvgpu: Remove NVGPU_IOCTL_GET_BUFFER_INFO
The IOCTL was introduced for making efficient query of buffer
identity and size. It was never taken into use, and it adds a
dependency to Tegra specific dma_buf API, so remove it.
JIRA NVGPU-4
Change-Id: I194d7bb1f54997900a3be8d39c93331befa225c7
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1648001
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: Konsta Holtta <kholtta@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/dmabuf.h')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/dmabuf.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/dmabuf.h b/drivers/gpu/nvgpu/common/linux/dmabuf.h index 8e6c139b..d30ff5a5 100644 --- a/drivers/gpu/nvgpu/common/linux/dmabuf.h +++ b/drivers/gpu/nvgpu/common/linux/dmabuf.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved. |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify it | 4 | * This program is free software; you can redistribute it and/or modify it |
5 | * under the terms and conditions of the GNU General Public License, | 5 | * under the terms and conditions of the GNU General Public License, |
@@ -57,7 +57,4 @@ int gk20a_dmabuf_alloc_drvdata(struct dma_buf *dmabuf, struct device *dev); | |||
57 | int gk20a_dmabuf_get_state(struct dma_buf *dmabuf, struct gk20a *g, | 57 | int gk20a_dmabuf_get_state(struct dma_buf *dmabuf, struct gk20a *g, |
58 | u64 offset, struct gk20a_buffer_state **state); | 58 | u64 offset, struct gk20a_buffer_state **state); |
59 | 59 | ||
60 | int gk20a_mm_get_buffer_info(struct device *dev, int dmabuf_fd, | ||
61 | u64 *buffer_id, u64 *buffer_len); | ||
62 | |||
63 | #endif | 60 | #endif |