diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2019-02-07 09:59:29 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-03-19 15:03:53 -0500 |
commit | 7d1500f9fbfc78e6a34be3f8f4b5ba13e8227199 (patch) | |
tree | 7e90c6f6c0029e04efd7479061e44aa6c2f85ef1 /drivers/gpu/drm/ast | |
parent | aa8e2435b3d4878a0db8917805e86f61001fe174 (diff) | |
download | linux-stable-7d1500f9fbfc78e6a34be3f8f4b5ba13e8227199.tar.gz linux-stable-7d1500f9fbfc78e6a34be3f8f4b5ba13e8227199.tar.bz2 linux-stable-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 'drivers/gpu/drm/ast')
-rw-r--r-- | drivers/gpu/drm/ast/ast_ttm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/ast/ast_ttm.c b/drivers/gpu/drm/ast/ast_ttm.c index c168d62fe8f9..c410804a5e2c 100644 --- a/drivers/gpu/drm/ast/ast_ttm.c +++ b/drivers/gpu/drm/ast/ast_ttm.c @@ -178,7 +178,6 @@ int ast_mm_init(struct ast_private *ast) ret = ttm_bo_device_init(&ast->ttm.bdev, &ast_bo_driver, dev->anon_inode->i_mapping, - DRM_FILE_PAGE_OFFSET, true); if (ret) { DRM_ERROR("Error initialising bo driver; %d\n", ret); |