summaryrefslogtreecommitdiffstats
path: root/drivers/char/riscom8.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2010-09-07 22:11:15 +0200
committerChris Wilson <chris@chris-wilson.co.uk>2010-09-21 11:30:21 +0100
commit0e87d2b06cb4651c874d0b208d31c73addbd638b (patch)
treedd933e996f74b67e0e386f1871149f40b0e94855 /drivers/char/riscom8.h
parentf13d3f7311add99d1f874a6b67d56426afa35664 (diff)
downloadlinux-0e87d2b06cb4651c874d0b208d31c73addbd638b.tar.gz
linux-0e87d2b06cb4651c874d0b208d31c73addbd638b.tar.bz2
linux-0e87d2b06cb4651c874d0b208d31c73addbd638b.zip
intel-gtt: initialize our own scratch page
The intel gtt fake agp driver is the only agp driver to use dma address remapping. So it makes sense to fold this code back into the only user (and thus reduce the reliance on the agp code). This patch does the first step by initializing (and remapping) the scratch page in a new function intel_gtt_setup_scratch_page. Unfortunately intel_gtt_cleanup had to move to avoid a forward declaration. The new scratch page is not yet used, though. v2: Refactor out scratch page teardown. Suggested by Chris Wilson on irc. This makes it clear what's going on and results in a nice symmetry between setup and teardown. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/char/riscom8.h')
0 files changed, 0 insertions, 0 deletions