intel-gtt: call init_gtt_init in probe function
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 29 Aug 2010 12:18:49 +0000 (14:18 +0200)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Sep 2010 20:20:19 +0000 (21:20 +0100)
commit3b15a9d7cd59b7ec79f61aafabfbe84116561461
treefa53438e6bee5bedd9ce32a9ba35854dcc6f1b73
parent2d2430cf9bf9e8b0ad9ea34a103625f4fe7e4477
intel-gtt: call init_gtt_init in probe function

This way create_gatt_table become dummy glue functions for the fake
agp driver - rename them accordingly (and kill the now unnecessary
i9xx copy).

With this change, the gtt initialization code is almost independant
from the agp stuff. Two things are still missing:
- the scratch page is created by the generic agp code.
- filling the whole gtt with scratch_page ptes is not yet consolidated -
  this needs abstracted pte handling, first.

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