提交 1927ffc0 编写于 作者: C Christian König 提交者: Alex Deucher

drm/amdgpu: remove unused member from struct amdgpu_bo

Not used in a while.
Signed-off-by: NChristian König <christian.koenig@amd.com>
Reviewed-by: NAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 bb990bb0
...@@ -446,8 +446,6 @@ struct amdgpu_bo_va { ...@@ -446,8 +446,6 @@ struct amdgpu_bo_va {
#define AMDGPU_GEM_DOMAIN_MAX 0x3 #define AMDGPU_GEM_DOMAIN_MAX 0x3
struct amdgpu_bo { struct amdgpu_bo {
/* Protected by gem.mutex */
struct list_head list;
/* Protected by tbo.reserved */ /* Protected by tbo.reserved */
u32 prefered_domains; u32 prefered_domains;
u32 allowed_domains; u32 allowed_domains;
......
...@@ -352,7 +352,6 @@ int amdgpu_bo_create_restricted(struct amdgpu_device *adev, ...@@ -352,7 +352,6 @@ int amdgpu_bo_create_restricted(struct amdgpu_device *adev,
return r; return r;
} }
bo->adev = adev; bo->adev = adev;
INIT_LIST_HEAD(&bo->list);
INIT_LIST_HEAD(&bo->shadow_list); INIT_LIST_HEAD(&bo->shadow_list);
INIT_LIST_HEAD(&bo->va); INIT_LIST_HEAD(&bo->va);
bo->prefered_domains = domain & (AMDGPU_GEM_DOMAIN_VRAM | bo->prefered_domains = domain & (AMDGPU_GEM_DOMAIN_VRAM |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册