Commit ed5b89c6 authored by Christian König's avatar Christian König Committed by 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: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 9124a398
...@@ -87,8 +87,11 @@ struct amdgpu_bo { ...@@ -87,8 +87,11 @@ struct amdgpu_bo {
struct ttm_bo_kmap_obj dma_buf_vmap; struct ttm_bo_kmap_obj dma_buf_vmap;
struct amdgpu_mn *mn; 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment