• Ben Skeggs's avatar
    drm/nouveau/mmu/gk104,gk20a: implement new vmm backend · b5977643
    Ben Skeggs authored
    Adds support for:
    - 64KiB big page size.
    - System-memory PTs.
    - LPTE "invalid" state.
    - (Tegra) Use of video memory aperture.
    
    Adds support for marking LPTEs invalid, resulting in the corresponding
    SPTEs being ignored, which is supposed to speed up TLB invalidates.
    
    On The Tegra side, this will switch to using the video memory aperture
    for all mappings.  The HW will still target non-coherent system memory,
    but this aperture needs to be selected in order to support compression.
    
    Tegra's instmem backend somewhat cheated to get this effect previously.
    Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
    b5977643
vmmgk20a.c 2.16 KB