drm/ttm: merge offset and base in ttm_bus_placement
authorChristian König <christian.koenig@amd.com>
Mon, 7 Sep 2020 11:44:36 +0000 (13:44 +0200)
committerChristian König <christian.koenig@amd.com>
Tue, 8 Sep 2020 08:43:30 +0000 (10:43 +0200)
commit54d04ea8cdbd143496e4f5cc9c0a9f86c0e55a2e
tree189c73b8584412722829922f5e963ca514887e65
parent1ff67ce49875f289d63e426b63c6561aa63fa888
drm/ttm: merge offset and base in ttm_bus_placement

This is used by TTM to communicate the physical address
which should be used with ioremap(), ioremap_wc(). We don't
need to separate the base and offset in any way here.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/389457/
12 files changed:
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/drm_gem_ttm_helper.c
drivers/gpu/drm/drm_gem_vram_helper.c
drivers/gpu/drm/nouveau/nouveau_bo.c
drivers/gpu/drm/nouveau/nouveau_fbcon.c
drivers/gpu/drm/qxl/qxl_ttm.c
drivers/gpu/drm/radeon/radeon_ttm.c
drivers/gpu/drm/ttm/ttm_bo.c
drivers/gpu/drm/ttm/ttm_bo_util.c
drivers/gpu/drm/ttm/ttm_bo_vm.c
drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c
include/drm/ttm/ttm_resource.h