]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Extract PPGTT pte encoding
authorBen Widawsky <ben@bwidawsk.net>
Mon, 24 Sep 2012 23:44:32 +0000 (16:44 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 11 Nov 2012 22:51:11 +0000 (23:51 +0100)
commit35b3762f051e05f2c8842654771fb646bd9c4d64
tree22697a378a9df36b9aa52797ae0019b25c257625
parent2eac684840d525bcfa83551500e67053b2534c97
drm/i915: Extract PPGTT pte encoding

HSW will change the PTE encoding, and laying this out now will be
helpful when we're ready to implement that. More importantly, GGTT and
PPGTT PTE encoding is quite similar, so moving this out into a helper
function will enable us to lance the AGP layer.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c