agp/intel: split out the GTT support
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 13 Apr 2010 22:29:52 +0000 (00:29 +0200)
committerEric Anholt <eric@anholt.net>
Mon, 19 Apr 2010 00:35:47 +0000 (17:35 -0700)
commitf51b76621137c18501f6d21a995d36a8bcb49999
treeea146954362dd400b4582e4fb89242b075aaf556
parentff7cdd691a0c4925c1803bf89a4c08ccda2d7658
agp/intel: split out the GTT support

intel-agp.c contains actually two different drivers: An agp driver
for _physical_ agp slots an the gtt driver that is used by the intel
drm modules. Split them to prevent any further confusion.

This patch just moves the code and includes intel-gtt.c in intel-agp.c
Later patches will untangle these two drivers further.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/char/agp/intel-agp.c
drivers/char/agp/intel-gtt.c [new file with mode: 0644]