Skip to content

Commit 82df73d

Browse files
Ben Skeggsairlied
authored andcommitted
drm/nouveau/mmu: bump up the maximum page table depth
GH100/GBxxx have 6-level page tables. Signed-off-by: Ben Skeggs <[email protected]> Reviewed-by: Dave Airlie <[email protected]> Reviewed-by: Timur Tabi <[email protected]> Tested-by: Timur Tabi <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
1 parent 0adfd61 commit 82df73d

File tree

2 files changed

+2
-2
lines changed
  • drivers/gpu/drm/nouveau

2 files changed

+2
-2
lines changed

drivers/gpu/drm/nouveau/include/nvkm/subdev/mmu.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ struct nvkm_vma {
88
struct list_head head;
99
struct rb_node tree;
1010
u64 addr;
11-
u64 size:50;
11+
u64 size;
1212
bool mapref:1; /* PTs (de)referenced on (un)map (vs pre-allocated). */
1313
bool sparse:1; /* Unmapped PDEs/PTEs will not trigger MMU faults. */
1414
#define NVKM_VMA_PAGE_NONE 7

drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
2020
* OTHER DEALINGS IN THE SOFTWARE.
2121
*/
22-
#define NVKM_VMM_LEVELS_MAX 5
22+
#define NVKM_VMM_LEVELS_MAX 6
2323
#include "vmm.h"
2424

2525
#include <subdev/fb.h>

0 commit comments

Comments
 (0)