projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8469383
)
drm/ttm/agp: drop back end bindings from agp
author
Dave Airlie
<airlied@redhat.com>
Mon, 7 Sep 2020 20:46:27 +0000
(06:46 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 8 Sep 2020 22:30:36 +0000
(08:30 +1000)
These aren't used anymore.
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20200907204630.1406528-11-airlied@gmail.com
drivers/gpu/drm/ttm/ttm_agp_backend.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/ttm/ttm_agp_backend.c
b/drivers/gpu/drm/ttm/ttm_agp_backend.c
index
fbf98cd
..
8072fb7
100644
(file)
--- a/
drivers/gpu/drm/ttm/ttm_agp_backend.c
+++ b/
drivers/gpu/drm/ttm/ttm_agp_backend.c
@@
-112,12
+112,6
@@
void ttm_agp_destroy(struct ttm_bo_device *bdev,
}
EXPORT_SYMBOL(ttm_agp_destroy);
-static struct ttm_backend_func ttm_agp_func = {
- .bind = ttm_agp_bind,
- .unbind = ttm_agp_unbind,
- .destroy = ttm_agp_destroy,
-};
-
struct ttm_tt *ttm_agp_tt_create(struct ttm_buffer_object *bo,
struct agp_bridge_data *bridge,
uint32_t page_flags)
@@
-130,7
+124,6
@@
struct ttm_tt *ttm_agp_tt_create(struct ttm_buffer_object *bo,
agp_be->mem = NULL;
agp_be->bridge = bridge;
- agp_be->ttm.func = &ttm_agp_func;
if (ttm_tt_init(&agp_be->ttm, bo, page_flags)) {
kfree(agp_be);