summaryrefslogtreecommitdiffstats
path: root/include/drm/ttm/ttm_bo_driver.h
diff options
context:
space:
mode:
authorThomas Zimmermann2019-02-07 09:59:29 +0100
committerAlex Deucher2019-03-19 21:03:53 +0100
commit7d1500f9fbfc78e6a34be3f8f4b5ba13e8227199 (patch)
tree7e90c6f6c0029e04efd7479061e44aa6c2f85ef1 /include/drm/ttm/ttm_bo_driver.h
parentdrm/ttm: Define a single DRM_FILE_PAGE_OFFSET constant (diff)
downloadkernel-qcow2-linux-7d1500f9fbfc78e6a34be3f8f4b5ba13e8227199.tar.gz
kernel-qcow2-linux-7d1500f9fbfc78e6a34be3f8f4b5ba13e8227199.tar.xz
kernel-qcow2-linux-7d1500f9fbfc78e6a34be3f8f4b5ba13e8227199.zip
drm/ttm: Remove file_page_offset parameter from ttm_bo_device_init()
The parameter file_page_offset is a constant shared by all drivers. Just replace it with the constant itself. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Christian König <christian.koenig@amd.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/drm/ttm/ttm_bo_driver.h')
-rw-r--r--include/drm/ttm/ttm_bo_driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/ttm/ttm_bo_driver.h b/include/drm/ttm/ttm_bo_driver.h
index c0bed72492f3..ff0ec43fce7f 100644
--- a/include/drm/ttm/ttm_bo_driver.h
+++ b/include/drm/ttm/ttm_bo_driver.h
@@ -599,7 +599,7 @@ int ttm_bo_device_release(struct ttm_bo_device *bdev);
int ttm_bo_device_init(struct ttm_bo_device *bdev,
struct ttm_bo_driver *driver,
struct address_space *mapping,
- uint64_t file_page_offset, bool need_dma32);
+ bool need_dma32);
/**
* ttm_bo_unmap_virtual