summaryrefslogtreecommitdiff
path: root/include/drm/ttm
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2020-08-11 17:46:58 +1000
committerDave Airlie <airlied@redhat.com>2020-08-24 17:06:08 +1000
commitebb21aa1882f418b436ee23463683790c553a447 (patch)
tree6b1e5f92ccfb9ffa0bfe48e383e7b263a4f587e2 /include/drm/ttm
parent098754fe3ce79af2d5772c0356ba5d52e67eb64a (diff)
drm/ttm: drop bus.size from bus placement.
This is always calculated the same, and only used in a couple of places. Signed-off-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Christian König <christian.koenig@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200811074658.58309-2-airlied@gmail.com
Diffstat (limited to 'include/drm/ttm')
-rw-r--r--include/drm/ttm/ttm_resource.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/drm/ttm/ttm_resource.h b/include/drm/ttm/ttm_resource.h
index bac22a56f6cd..6d4226190480 100644
--- a/include/drm/ttm/ttm_resource.h
+++ b/include/drm/ttm/ttm_resource.h
@@ -162,7 +162,6 @@ struct ttm_resource_manager {
* @addr: mapped virtual address
* @base: bus base address
* @is_iomem: is this io memory ?
- * @size: size in byte
* @offset: offset from the base address
* @io_reserved_vm: The VM system has a refcount in @io_reserved_count
* @io_reserved_count: Refcounting the numbers of callers to ttm_mem_io_reserve
@@ -172,7 +171,6 @@ struct ttm_resource_manager {
struct ttm_bus_placement {
void *addr;
phys_addr_t base;
- unsigned long size;
unsigned long offset;
bool is_iomem;
bool io_reserved_vm;