OSDN Git Service

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)
commitf77c44b902a032718e2431a5fc9211ef0b0282d3
treed9b60bebfa8207823369ad202c783f086d3f89c2
parentc04d016124f2290762d9535690b817855dd80fc1
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