diff options
author | Ralph Campbell <rcampbell@nvidia.com> | 2020-07-02 01:53:50 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-07-10 22:24:28 +0300 |
commit | 4725c6b82a48a77d05c1943b0740eb3564785e7e (patch) | |
tree | 4457995945bc48fca22e377b4f0b4238b39e57c1 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 0cafc62e4daf7221a0ce80e0ed1b4c669d69d925 (diff) | |
download | linux-4725c6b82a48a77d05c1943b0740eb3564785e7e.tar.xz |
nouveau: fix mapping 2MB sysmem pages
The nvif_object_ioctl() method NVIF_VMM_V0_PFNMAP wasn't correctly setting
the hardware specific GPU page table entries for 2MB sized pages. Fix this
by adding functions to set and clear PD0 GPU page table entries.
Link: https://lore.kernel.org/r/20200701225352.9649-4-rcampbell@nvidia.com
Signed-off-by: Ralph Campbell <rcampbell@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions