projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e33dc18
)
drm/qxl/ttm: use new init path for manager
author
Dave Airlie
<airlied@redhat.com>
Tue, 4 Aug 2020 02:55:50 +0000
(12:55 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 6 Aug 2020 02:31:36 +0000
(12:31 +1000)
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20200804025632.3868079-18-airlied@gmail.com
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
10109a3
..
b116064
100644
(file)
--- a/
drivers/gpu/drm/qxl/qxl_ttm.c
+++ b/
drivers/gpu/drm/qxl/qxl_ttm.c
@@
-222,11
+222,10
@@
static int qxl_ttm_init_mem_type(struct qxl_device *qdev,
{
struct ttm_mem_type_manager *man = &qdev->mman.bdev.man[type];
- man->func = &ttm_bo_manager_func;
man->available_caching = TTM_PL_MASK_CACHING;
man->default_caching = TTM_PL_FLAG_CACHED;
- return ttm_
bo_init_mm(&qdev->mman.bdev, type
, size);
+ return ttm_
range_man_init(&qdev->mman.bdev, man
, size);
}
int qxl_ttm_init(struct qxl_device *qdev)