]> git.baikalelectronics.ru Git - kernel.git/commit
agp/intel-gtt: Remove get/put_pages
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 12 Sep 2014 13:20:24 +0000 (15:20 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 19 Sep 2014 12:43:11 +0000 (14:43 +0200)
commita5b08b1fbab1e40c8102692da696df823a32548a
treed9b60bebfa8207823369ad202c783f086d3f89c2
parent8976498fb18cf27c1791cf545e042f799c5d4fb5
agp/intel-gtt: Remove get/put_pages

If a page isn't allocated as __GFP_MOVEABLE it won't move around, so
no need to grab a reference to lock it into place.

Discovered while reviewing page allocation handling in i915 gem.

Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/char/agp/intel-gtt.c