mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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 <[email protected]> Tested-by: Chris Wilson <[email protected]> Tested-by: Eugeni Dodonov <[email protected]> Reviewed-by: Eugeni Dodonov <[email protected]> Signed-Off-by: Daniel Vetter <[email protected]>
This commit is contained in:
parent
50a4c4a94d
commit
428ccb21b7
2 changed files with 3 additions and 0 deletions
|
|
@ -17,6 +17,8 @@ const struct intel_gtt {
|
|||
unsigned int do_idle_maps : 1;
|
||||
/* Share the scratch page dma with ppgtts. */
|
||||
dma_addr_t scratch_page_dma;
|
||||
/* for ppgtt PDE access */
|
||||
u32 __iomem *gtt;
|
||||
} *intel_gtt_get(void);
|
||||
|
||||
void intel_gtt_chipset_flush(void);
|
||||
|
|
|
|||
Loading…
Reference in a new issue