Author: dumbbell Date: Sun Aug 25 15:12:26 2013 New Revision: 254875 URL: http://svnweb.freebsd.org/changeset/base/254875
Log: ttm: "to_page->valid = VM_PAGE_BITS_ALL" before vm_page_dirty(to_page) Approved by; kib@ Modified: head/sys/dev/drm2/ttm/ttm_tt.c Modified: head/sys/dev/drm2/ttm/ttm_tt.c ============================================================================== --- head/sys/dev/drm2/ttm/ttm_tt.c Sun Aug 25 15:06:48 2013 (r254874) +++ head/sys/dev/drm2/ttm/ttm_tt.c Sun Aug 25 15:12:26 2013 (r254875) @@ -353,8 +353,8 @@ int ttm_tt_swapout(struct ttm_tt *ttm, v continue; to_page = vm_page_grab(obj, i, VM_ALLOC_NORMAL); pmap_copy_page(from_page, to_page); - vm_page_dirty(to_page); to_page->valid = VM_PAGE_BITS_ALL; + vm_page_dirty(to_page); vm_page_xunbusy(to_page); } vm_object_pip_wakeup(obj); _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"