diff options
author | Christian König <christian.koenig@amd.com> | 2020-09-11 15:06:53 +0200 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2020-09-15 16:03:44 +0200 |
commit | 0fe438cec9e1d263a831e62a0499e14ee228fb30 (patch) | |
tree | 5cd5f08598986924db5bf6c8fa8ffcf221aba7a3 /drivers/gpu/drm/qxl | |
parent | drm/bridge: ps8640: Rework power state handling (diff) | |
download | linux-0fe438cec9e1d263a831e62a0499e14ee228fb30.tar.xz linux-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')
-rw-r--r-- | drivers/gpu/drm/qxl/qxl_ttm.c | 2 |
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) |