Video: port R2 kernel driver to R3/ICS
authorFei Jiang <fei.jiang@intel.com>
Thu, 29 Dec 2011 13:55:27 +0000 (21:55 +0800)
committerbuildbot <buildbot@intel.com>
Sun, 1 Jan 2012 22:30:41 +0000 (14:30 -0800)
BZ: 18528

Change include a page counter fix for gallery exit slow issue.

Change-Id: Ia654ab3ba09eef52e10e5fa40499a122bc2775bb
Reviewed-on: http://android.intel.com:8080/30192
Reviewed-by: Jiang, Fei <fei.jiang@intel.com>
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

index a5f9ffd..0b6188f 100644 (file)
@@ -409,7 +409,7 @@ static int __get_pfnmap_pages(struct task_struct *tsk, struct mm_struct *mm,
                                return i ? i : PTR_ERR(page);
                        if (pages) {
                                pages[i] = page;
-
+                               get_page(page);
                                flush_anon_page(vma, page, start);
                                flush_dcache_page(page);
                        }