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

drm/amdgpu: shadow and mn list are mutually exclusive

Save some memory because only one of those is used at all times.
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>
上级 9124a398
......@@ -87,8 +87,11 @@ struct amdgpu_bo {
struct ttm_bo_kmap_obj dma_buf_vmap;
struct amdgpu_mn *mn;
struct list_head mn_list;
struct list_head shadow_list;
union {
struct list_head mn_list;
struct list_head shadow_list;
};
};
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册