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>
This commit is contained in:
parent
67e93c808b
commit
8e38976ee9
1 changed files with 0 additions and 7 deletions
|
@ -24,26 +24,19 @@
|
||||||
*
|
*
|
||||||
* @cookie: cookie returned by dma_alloc_attrs
|
* @cookie: cookie returned by dma_alloc_attrs
|
||||||
* @kvaddr: kernel virtual address to allocated memory region.
|
* @kvaddr: kernel virtual address to allocated memory region.
|
||||||
* *userptr: user space address.
|
|
||||||
* @dma_addr: bus address(accessed by dma) to allocated memory region.
|
* @dma_addr: bus address(accessed by dma) to allocated memory region.
|
||||||
* - this address could be physical address without IOMMU and
|
* - this address could be physical address without IOMMU and
|
||||||
* device address with IOMMU.
|
* device address with IOMMU.
|
||||||
* @write: whether pages will be written to by the caller.
|
|
||||||
* @pages: Array of backing pages.
|
* @pages: Array of backing pages.
|
||||||
* @size: size of allocated memory region.
|
* @size: size of allocated memory region.
|
||||||
* @pfnmap: indicate whether memory region from userptr is mmaped with
|
|
||||||
* VM_PFNMAP or not.
|
|
||||||
*/
|
*/
|
||||||
struct exynos_drm_gem_buf {
|
struct exynos_drm_gem_buf {
|
||||||
void *cookie;
|
void *cookie;
|
||||||
void __iomem *kvaddr;
|
void __iomem *kvaddr;
|
||||||
unsigned long userptr;
|
|
||||||
dma_addr_t dma_addr;
|
dma_addr_t dma_addr;
|
||||||
struct dma_attrs dma_attrs;
|
struct dma_attrs dma_attrs;
|
||||||
unsigned int write;
|
|
||||||
struct page **pages;
|
struct page **pages;
|
||||||
unsigned long size;
|
unsigned long size;
|
||||||
bool pfnmap;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue