]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Put the mm in the parent address space
authorBen Widawsky <ben@bwidawsk.net>
Tue, 16 Jul 2013 23:50:06 +0000 (16:50 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 17 Jul 2013 20:23:43 +0000 (22:23 +0200)
commit908b7124e16969f9d0395e975ab3e831ea94abf3
tree50d29aad6fd49dcbab1e3c0d4ff40d9bc6c4b9b2
parent11be89331bb2f31a258e5cd3d5099db7e5d3180f
drm/i915: Put the mm in the parent address space

Every address space should support object allocation. It therefore makes
sense to have the allocator be part of the "superclass" which GGTT and
PPGTT will derive.

Since our maximum address space size is only 2GB we're not yet able to
avoid doing allocation/eviction; but we'd hope one day this becomes
almost irrelvant.

v2: Rebased

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_evict.c
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/i915_gem_stolen.c