diff options
| author | Joonyoung Shim <jy0922.shim@samsung.com> | 2015-07-28 04:53:21 -0400 |
|---|---|---|
| committer | Inki Dae <inki.dae@samsung.com> | 2015-08-16 00:34:09 -0400 |
| commit | 8e38976ee9aceec4231e7aa5aacf3c6e7aa41471 (patch) | |
| tree | 61703e54a98247e87325e73d3a9f90c9655fed90 /drivers/gpu/drm | |
| parent | 67e93c808b486817193dbd1ff93ee03adb9eef28 (diff) | |
drm/exynos: remove unused fields of struct exynos_drm_gem_buf
The userptr, write and pfnmap of struct exynos_drm_gem_buf are not used
anywhere.
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm')
| -rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_gem.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_gem.h b/drivers/gpu/drm/exynos/exynos_drm_gem.h index 5979f22828d4..49b5ef1179b0 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_gem.h +++ b/drivers/gpu/drm/exynos/exynos_drm_gem.h | |||
| @@ -24,26 +24,19 @@ | |||
| 24 | * | 24 | * |
| 25 | * @cookie: cookie returned by dma_alloc_attrs | 25 | * @cookie: cookie returned by dma_alloc_attrs |
| 26 | * @kvaddr: kernel virtual address to allocated memory region. | 26 | * @kvaddr: kernel virtual address to allocated memory region. |
| 27 | * *userptr: user space address. | ||
| 28 | * @dma_addr: bus address(accessed by dma) to allocated memory region. | 27 | * @dma_addr: bus address(accessed by dma) to allocated memory region. |
| 29 | * - this address could be physical address without IOMMU and | 28 | * - this address could be physical address without IOMMU and |
| 30 | * device address with IOMMU. | 29 | * device address with IOMMU. |
| 31 | * @write: whether pages will be written to by the caller. | ||
| 32 | * @pages: Array of backing pages. | 30 | * @pages: Array of backing pages. |
| 33 | * @size: size of allocated memory region. | 31 | * @size: size of allocated memory region. |
| 34 | * @pfnmap: indicate whether memory region from userptr is mmaped with | ||
| 35 | * VM_PFNMAP or not. | ||
| 36 | */ | 32 | */ |
| 37 | struct exynos_drm_gem_buf { | 33 | struct exynos_drm_gem_buf { |
| 38 | void *cookie; | 34 | void *cookie; |
| 39 | void __iomem *kvaddr; | 35 | void __iomem *kvaddr; |
| 40 | unsigned long userptr; | ||
| 41 | dma_addr_t dma_addr; | 36 | dma_addr_t dma_addr; |
| 42 | struct dma_attrs dma_attrs; | 37 | struct dma_attrs dma_attrs; |
| 43 | unsigned int write; | ||
| 44 | struct page **pages; | 38 | struct page **pages; |
| 45 | unsigned long size; | 39 | unsigned long size; |
| 46 | bool pfnmap; | ||
| 47 | }; | 40 | }; |
| 48 | 41 | ||
| 49 | /* | 42 | /* |
