diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-02-09 20:15:45 +0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-02-10 00:24:18 +0400 |
commit | 428ccb21b740f603a6a1f08cbe6d935fb3177620 (patch) | |
tree | 397bab4ab8906e62430be6b3c02c75e9ff6bec90 /drivers/char/agp/intel-gtt.c | |
parent | 50a4c4a94d24fe13167e3ab1dc1486623369c31a (diff) | |
download | linux-428ccb21b740f603a6a1f08cbe6d935fb3177620.tar.xz |
agp/intel-gtt: export the gtt pagetable iomapping
We need this because ppgtt page directory entries need to be in the
global gtt pagetable.
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Tested-by: Chris Wilson <chris@chris-wilson.co.uk>
Tested-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/char/agp/intel-gtt.c')
-rw-r--r-- | drivers/char/agp/intel-gtt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/agp/intel-gtt.c b/drivers/char/agp/intel-gtt.c index 0a305acb0374..5cf47ac2d401 100644 --- a/drivers/char/agp/intel-gtt.c +++ b/drivers/char/agp/intel-gtt.c @@ -680,6 +680,7 @@ static int intel_gtt_init(void) iounmap(intel_private.registers); return -ENOMEM; } + intel_private.base.gtt = intel_private.gtt; global_cache_flush(); /* FIXME: ? */ |