From: Daniel Vetter Date: Wed, 8 Sep 2010 19:01:04 +0000 (+0200) Subject: intel-gtt: new function intel_gtt_mappable_entries X-Git-Tag: v2.6.37-rc1~92^2~28^2~189 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1784a5fb4f7a41b9a5ea066f7782418bfe170c04;p=pandora-kernel.git intel-gtt: new function intel_gtt_mappable_entries This implementation is stolen from drm/i915, but is equivalent to the code sprinkled over intel-gtt.c in the various fetch_size functions. It's not yet used anywhere, though. Also introduce intel_gtt_init which only calls intel_gtt_stolen_entries. Over the course of the next patches, this will grow untill it contains the complete init sequence starting from the call to gtt_mappable_entries. Signed-off-by: Daniel Vetter Signed-off-by: Chris Wilson --- Reading git-diff-tree failed