OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0fe3f7
)
drm/qxl/ttm: use new takedown path
author
Dave Airlie
<airlied@redhat.com>
Tue, 4 Aug 2020 02:56:05 +0000
(12:56 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 6 Aug 2020 02:32:03 +0000
(12:32 +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-33-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
b116064
..
3e3c7ad
100644
(file)
--- a/
drivers/gpu/drm/qxl/qxl_ttm.c
+++ b/
drivers/gpu/drm/qxl/qxl_ttm.c
@@
-267,8
+267,8
@@
int qxl_ttm_init(struct qxl_device *qdev)
void qxl_ttm_fini(struct qxl_device *qdev)
{
- ttm_
bo_clean_mm(&qdev->mman.bdev, TTM_PL_VRAM
);
- ttm_
bo_clean_mm(&qdev->mman.bdev, TTM_PL_PRIV
);
+ ttm_
range_man_fini(&qdev->mman.bdev, &qdev->mman.bdev.man[TTM_PL_VRAM]
);
+ ttm_
range_man_fini(&qdev->mman.bdev, &qdev->mman.bdev.man[TTM_PL_PRIV]
);
ttm_bo_device_release(&qdev->mman.bdev);
DRM_INFO("qxl: ttm finalized\n");
}