drm/i915: extract hw ppgtt setup/cleanup code
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 24 Jan 2013 21:49:56 +0000 (13:49 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 31 Jan 2013 10:50:06 +0000 (11:50 +0100)
commit3440d265857b411a13ed8f67814a29fa2011cdb3
tree8cd1a4bcc23f87debe91fc90613445a7a0d9e684
parent960e3e429f0c7d9e27e60cf8fa2f51ada71e717e
drm/i915: extract hw ppgtt setup/cleanup code

At the moment only cosmetics, but being able to initialize/cleanup
arbitrary ppgtt address spaces paves the way to have more than one of
them ... Just in case we ever get around to implementing real
per-process address spaces. Note that in that case another vfunc for
ppgtt would be beneficial though. But that can wait until the code
grows a second place which initializes ppgtts.

Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem_gtt.c