intel-gtt: introduce intel_gtt_driver
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 8 Sep 2010 19:18:53 +0000 (21:18 +0200)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Sep 2010 20:20:14 +0000 (21:20 +0100)
commit1a997ff2a0089a07a5494545d31f4366742dea43
tree31b1922f2922c76ef1aff40cc298fd8a2e49d114
parente5e408fc94595aab897f613b6f4e2f5b36870a6f
intel-gtt: introduce intel_gtt_driver

Same idea as INTEL_INFO from drm/i915. This
- reduces the dependancy on agp_driver
- stops the what-does-IS_I965G-mean confusion (here it's just gen4, in
  drm/i915 it's gen >=4)
- further prepares the separation of the fake agp driver from the rest.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/char/agp/intel-agp.h
drivers/char/agp/intel-gtt.c