Commit a83e47e4 authored by Eric Anholt's avatar Eric Anholt

drm/v3d: Remove some dead members of struct v3d_bo.

vmas was from the previous model of page table management (one per
fd), and vaddr was left over from vc4.
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20190308161716.2466-4-eric@anholt.netAcked-by: default avatarRob Herring <robh@kernel.org>
parent c2b3e61a
...@@ -117,7 +117,6 @@ static struct v3d_bo *v3d_bo_create_struct(struct drm_device *dev, ...@@ -117,7 +117,6 @@ static struct v3d_bo *v3d_bo_create_struct(struct drm_device *dev,
return ERR_PTR(-ENOMEM); return ERR_PTR(-ENOMEM);
obj = &bo->base; obj = &bo->base;
INIT_LIST_HEAD(&bo->vmas);
INIT_LIST_HEAD(&bo->unref_head); INIT_LIST_HEAD(&bo->unref_head);
mutex_init(&bo->lock); mutex_init(&bo->lock);
......
...@@ -110,12 +110,6 @@ struct v3d_file_priv { ...@@ -110,12 +110,6 @@ struct v3d_file_priv {
struct drm_sched_entity sched_entity[V3D_MAX_QUEUES]; struct drm_sched_entity sched_entity[V3D_MAX_QUEUES];
}; };
/* Tracks a mapping of a BO into a per-fd address space */
struct v3d_vma {
struct v3d_page_table *pt;
struct list_head list; /* entry in v3d_bo.vmas */
};
struct v3d_bo { struct v3d_bo {
struct drm_gem_object base; struct drm_gem_object base;
...@@ -126,9 +120,6 @@ struct v3d_bo { ...@@ -126,9 +120,6 @@ struct v3d_bo {
u32 pages_refcount; u32 pages_refcount;
struct page **pages; struct page **pages;
struct sg_table *sgt; struct sg_table *sgt;
void *vaddr;
struct list_head vmas; /* list of v3d_vma */
/* List entry for the BO's position in /* List entry for the BO's position in
* v3d_exec_info->unref_list * v3d_exec_info->unref_list
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment