drm/i915: add GEM GTT mapping support
authorJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 12 Nov 2008 18:03:55 +0000 (10:03 -0800)
committerDave Airlie <airlied@linux.ie>
Mon, 29 Dec 2008 07:47:23 +0000 (17:47 +1000)
commitde151cf67ce52ed2d88083daa5e60c7858947329
tree860c46d95061b261a7cab24a6ab57b68a0146f3a
parenta2c0a97b784f837300f7b0869c82ab712c600952
drm/i915: add GEM GTT mapping support

Use the new core GEM object mapping code to allow GTT mapping of GEM
objects on i915.  The fault handler will make sure a fence register is
allocated too, if the object in question is tiled.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_tiling.c
drivers/gpu/drm/i915/i915_reg.h
include/drm/i915_drm.h