]> git.karo-electronics.de Git - linux-beck.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)
commit93bd8649dba3155d1a0ba2a902d9c49f1c75a1da
tree50d29aad6fd49dcbab1e3c0d4ff40d9bc6c4b9b2
parent853ba5d2231619e1c7f7de1269e135174ec8e3cb
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