summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vmwgfx/vmwgfx_thp.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2020-08-04 12:56:26 +1000
committerDave Airlie <airlied@redhat.com>2020-08-06 13:12:40 +1000
commit7541ce1a6f2be9ab056a5b5105e08aef8d3287b1 (patch)
tree9e6ec8ed1cb53438b3f7704b1a71c0b862147bfa /drivers/gpu/drm/vmwgfx/vmwgfx_thp.c
parenta29050c4cd7f411e6bc0b9eb4232c4ef5a76aa32 (diff)
downloadlinux-stable-7541ce1a6f2be9ab056a5b5105e08aef8d3287b1.tar.gz
linux-stable-7541ce1a6f2be9ab056a5b5105e08aef8d3287b1.tar.bz2
linux-stable-7541ce1a6f2be9ab056a5b5105e08aef8d3287b1.zip
drm/ttm: drop man->bdev link.
This link isn't needed anymore, drop it from the init interface. Reviewed-by: Ben Skeggs <bskeggs@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200804025632.3868079-54-airlied@gmail.com
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_thp.c')
-rw-r--r--drivers/gpu/drm/vmwgfx/vmwgfx_thp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_thp.c b/drivers/gpu/drm/vmwgfx/vmwgfx_thp.c
index 1cefd9c1e8ea..0b9c29249393 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_thp.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_thp.c
@@ -134,7 +134,7 @@ int vmw_thp_init(struct vmw_private *dev_priv)
man->available_caching = TTM_PL_FLAG_CACHED;
man->default_caching = TTM_PL_FLAG_CACHED;
- ttm_mem_type_manager_init(&dev_priv->bdev, man,
+ ttm_mem_type_manager_init(man,
dev_priv->vram_size >> PAGE_SHIFT);
drm_mm_init(&rman->mm, 0, man->size);