diff options
author | Christian König <christian.koenig@amd.com> | 2020-07-20 15:41:31 +0300 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2020-07-31 18:12:51 +0300 |
commit | 418d2ad1ac521acc46f74f6bcbc8c1158d077346 (patch) | |
tree | f5a6bdf5a033fca7f29869236fea5a8163b6f35a /drivers/gpu/drm/qxl | |
parent | 38ee474fc63f79f66df1bed06c8c952e8258ea90 (diff) | |
download | linux-418d2ad1ac521acc46f74f6bcbc8c1158d077346.tar.xz |
drm/ttm: initialize the system domain with defaults v2
Instead of repeating that in each driver.
v2: keep the caching limitation for VMWGFX for now.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/382078/
Diffstat (limited to 'drivers/gpu/drm/qxl')
-rw-r--r-- | drivers/gpu/drm/qxl/qxl_ttm.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_ttm.c b/drivers/gpu/drm/qxl/qxl_ttm.c index 1d8e07b8b19e..e9b8c921c1f0 100644 --- a/drivers/gpu/drm/qxl/qxl_ttm.c +++ b/drivers/gpu/drm/qxl/qxl_ttm.c @@ -54,9 +54,6 @@ static int qxl_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, switch (type) { case TTM_PL_SYSTEM: /* System memory */ - man->flags = 0; - man->available_caching = TTM_PL_MASK_CACHING; - man->default_caching = TTM_PL_FLAG_CACHED; break; case TTM_PL_VRAM: case TTM_PL_PRIV: |