summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/qxl/qxl_ttm.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2020-09-11 15:06:53 +0200
committerChristian König <christian.koenig@amd.com>2020-09-15 16:03:44 +0200
commit0fe438cec9e1d263a831e62a0499e14ee228fb30 (patch)
tree5cd5f08598986924db5bf6c8fa8ffcf221aba7a3 /drivers/gpu/drm/qxl/qxl_ttm.c
parent46f206304db0311b0920479f42accaa7cb472fdc (diff)
downloadlinux-stable-0fe438cec9e1d263a831e62a0499e14ee228fb30.tar.gz
linux-stable-0fe438cec9e1d263a831e62a0499e14ee228fb30.tar.bz2
linux-stable-0fe438cec9e1d263a831e62a0499e14ee228fb30.zip
drm/ttm: remove default caching
As far as I can tell this was never used either and we just always fallback to the order cached > wc > uncached anyway. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Dave Airlie <airlied@redhat.com> Link: https://patchwork.freedesktop.org/patch/390142/
Diffstat (limited to 'drivers/gpu/drm/qxl/qxl_ttm.c')
-rw-r--r--drivers/gpu/drm/qxl/qxl_ttm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_ttm.c b/drivers/gpu/drm/qxl/qxl_ttm.c
index 5ffc8b752f01..d39d7994ea34 100644
--- a/drivers/gpu/drm/qxl/qxl_ttm.c
+++ b/drivers/gpu/drm/qxl/qxl_ttm.c
@@ -203,7 +203,7 @@ static int qxl_ttm_init_mem_type(struct qxl_device *qdev,
uint64_t size)
{
return ttm_range_man_init(&qdev->mman.bdev, type, TTM_PL_MASK_CACHING,
- TTM_PL_FLAG_CACHED, false, size);
+ false, size);
}
int qxl_ttm_init(struct qxl_device *qdev)