drm/ttm: reset user pages to WB if modified by ttm
authorLi Zeng <li.zeng@intel.com>
Fri, 8 Jun 2012 12:31:16 +0000 (20:31 +0800)
committerbuildbot <buildbot@intel.com>
Sun, 24 Jun 2012 05:19:39 +0000 (22:19 -0700)
commitf60808671492518a2c2af999f513c1cdfb14a0f4
treeb4ecd0702adac5191ba3f678f61c29bd061a174a
parent48f63cd4e23c19a9abda74ac34e893dea1cbf8d1
drm/ttm: reset user pages to WB if modified by ttm

BZ: 37816

Set user pages to UC/WC to improve vec performance, need to reset user pages to WB when release TTM buffer object

Change-Id: I110c3dfd1a77d2a60f3d1b0be43563f8c033c7c4
Signed-off-by: Li Zeng <li.zeng@intel.com>
Reviewed-on: http://android.intel.com:8080/52473
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Tested-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/gpu/drm/ttm/ttm_tt.c