]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/nv50: improve vram page table construction
authorBen Skeggs <bskeggs@redhat.com>
Thu, 11 Feb 2010 01:31:44 +0000 (11:31 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 23 Feb 2010 03:50:03 +0000 (13:50 +1000)
commit531e77139f26e8da32ee694b9ee5e6f4c764f1db
tree36b279e8fd6ec24be06287fe2f92cfc0505e4e97
parent4c27bd339d226175ac0e4dc3ab8289ba696db8be
drm/nv50: improve vram page table construction

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: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_mem.c