]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit526e64bd4f562a11ba43b40f4899f426b244f0be
tree8cd1a4bcc23f87debe91fc90613445a7a0d9e684
parentbd145f8ae26adbc135f8ec9e685f29625a541557
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