Date: Sun, 2 Nov 2014 14:08:54 +0000 (UTC) From: Tijl Coosemans <tijl@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r273969 - head/sys/dev/drm2/ttm Message-ID: <201411021408.sA2E8sM2029900@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tijl Date: Sun Nov 2 14:08:54 2014 New Revision: 273969 URL: https://svnweb.freebsd.org/changeset/base/273969 Log: Use default memory type for TTM buffer objects that may be cached. MFC after: 1 week Modified: head/sys/dev/drm2/ttm/ttm_bo_util.c Modified: head/sys/dev/drm2/ttm/ttm_bo_util.c ============================================================================== --- head/sys/dev/drm2/ttm/ttm_bo_util.c Sun Nov 2 13:43:04 2014 (r273968) +++ head/sys/dev/drm2/ttm/ttm_bo_util.c Sun Nov 2 14:08:54 2014 (r273969) @@ -508,8 +508,7 @@ static int ttm_bo_kmap_ttm(struct ttm_bu * or to make the buffer object look contiguous. */ prot = (mem->placement & TTM_PL_FLAG_CACHED) ? - VM_MEMATTR_WRITE_COMBINING : - ttm_io_prot(mem->placement); + VM_MEMATTR_DEFAULT : ttm_io_prot(mem->placement); map->bo_kmap_type = ttm_bo_map_vmap; map->num_pages = num_pages; map->virtual = (void *)kva_alloc(num_pages * PAGE_SIZE);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411021408.sA2E8sM2029900>