mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
agp/intel-gtt: export the scratch page dma address
To implement a PPGTT for drm/i915 that fully aliases the GTT, we also need to properly alias the scratch page. 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
7e3b8737e7
commit
50a4c4a94d
2 changed files with 6 additions and 5 deletions
|
|
@ -15,6 +15,8 @@ const struct intel_gtt {
|
|||
unsigned int needs_dmar : 1;
|
||||
/* Whether we idle the gpu before mapping/unmapping */
|
||||
unsigned int do_idle_maps : 1;
|
||||
/* Share the scratch page dma with ppgtts. */
|
||||
dma_addr_t scratch_page_dma;
|
||||
} *intel_gtt_get(void);
|
||||
|
||||
void intel_gtt_chipset_flush(void);
|
||||
|
|
|
|||
Loading…
Reference in a new issue