• Ben Skeggs's avatar
    drm/nv50: improve vram page table construction · 531e7713
    Ben Skeggs authored
    This commit changes nouveau to construct PTEs which look very much like
    the ones the binary driver creates.
    
    I presume that filling multiple PTEs identically with length flags and
    the physical address of the start of a block of VRAM is a hint to the
    memory controller that it need not perform additional page table lookups
    for that range of addresses.
    Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
    531e7713
nouveau_mem.c 17.1 KB