diff options
author | Dave Airlie <airlied@redhat.com> | 2020-08-25 02:46:00 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2020-09-07 23:39:21 +0300 |
commit | 0a667b500703db80eb30759bb67df671641dbc5b (patch) | |
tree | de96c19a469833baf9b97fd97e7071627c426573 /drivers/gpu/drm/drm_gem_vram_helper.c | |
parent | f437bc1ec731d3c8e45daecec7d89fc82bb76d12 (diff) | |
download | linux-0a667b500703db80eb30759bb67df671641dbc5b.tar.xz |
drm/ttm: remove bdev from ttm_tt
I want to split this structure up and use it differently,
step one remove bdev pointer from it and pass it explicitly.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200826014428.828392-4-airlied@gmail.com
Diffstat (limited to 'drivers/gpu/drm/drm_gem_vram_helper.c')
-rw-r--r-- | drivers/gpu/drm/drm_gem_vram_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_gem_vram_helper.c b/drivers/gpu/drm/drm_gem_vram_helper.c index 545a877406f4..788557bc5c01 100644 --- a/drivers/gpu/drm/drm_gem_vram_helper.c +++ b/drivers/gpu/drm/drm_gem_vram_helper.c @@ -967,7 +967,7 @@ static const struct drm_gem_object_funcs drm_gem_vram_object_funcs = { * TTM TT */ -static void backend_func_destroy(struct ttm_tt *tt) +static void backend_func_destroy(struct ttm_bo_device *bdev, struct ttm_tt *tt) { ttm_tt_fini(tt); kfree(tt); |