projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20784cd
)
drm/vram-helper: remove populate/unpopulate
author
Dave Airlie
<airlied@redhat.com>
Tue, 4 Aug 2020 02:55:40 +0000
(12:55 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 6 Aug 2020 02:16:36 +0000
(12:16 +1000)
The default path for populate/unpopulate is already this.
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20200804025632.3868079-8-airlied@gmail.com
drivers/gpu/drm/drm_gem_vram_helper.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_gem_vram_helper.c
b/drivers/gpu/drm/drm_gem_vram_helper.c
index
5f03c61
..
a93a009
100644
(file)
--- a/
drivers/gpu/drm/drm_gem_vram_helper.c
+++ b/
drivers/gpu/drm/drm_gem_vram_helper.c
@@
-1061,8
+1061,6
@@
static int bo_driver_io_mem_reserve(struct ttm_bo_device *bdev,
static struct ttm_bo_driver bo_driver = {
.ttm_tt_create = bo_driver_ttm_tt_create,
- .ttm_tt_populate = ttm_pool_populate,
- .ttm_tt_unpopulate = ttm_pool_unpopulate,
.eviction_valuable = ttm_bo_eviction_valuable,
.evict_flags = bo_driver_evict_flags,
.move_notify = bo_driver_move_notify,