projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8075c30
)
drm/qxl: don't allocate a dma_address array
author
Christian König
<christian.koenig@amd.com>
Thu, 17 Dec 2020 16:36:57 +0000
(17:36 +0100)
committer
Christian König
<christian.koenig@amd.com>
Fri, 18 Dec 2020 13:46:28 +0000
(14:46 +0100)
That seems to be unused.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: David Airlie <airlied@redhat.com>
Link:
https://patchwork.freedesktop.org/patch/408787/
drivers/gpu/drm/qxl/qxl_ttm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/qxl/qxl_ttm.c
b/drivers/gpu/drm/qxl/qxl_ttm.c
index 128c38c8a837a38872f4f5d7b26683dc13687500..7dd0c69baa478dc02c20f73d6ba698384f479895 100644
(file)
--- a/
drivers/gpu/drm/qxl/qxl_ttm.c
+++ b/
drivers/gpu/drm/qxl/qxl_ttm.c
@@
-115,7
+115,7
@@
static struct ttm_tt *qxl_ttm_tt_create(struct ttm_buffer_object *bo,
ttm = kzalloc(sizeof(struct ttm_tt), GFP_KERNEL);
if (ttm == NULL)
return NULL;
- if (ttm_
dma_
tt_init(ttm, bo, page_flags, ttm_cached)) {
+ if (ttm_tt_init(ttm, bo, page_flags, ttm_cached)) {
kfree(ttm);
return NULL;
}