nvk: SET_ROOT_TABLE_PREFETCH

Reviewed-by: Mary Guillemard <mary@mary.zone>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40639>
This commit is contained in:
Mel Henning 2026-03-30 15:34:44 -04:00 committed by Marge Bot
parent 30b3de6ec4
commit ad65ed643b

View file

@ -30,6 +30,7 @@
#include "nv_push_clc197.h"
#include "nv_push_clc397.h"
#include "nv_push_clc597.h"
#include "nv_push_clc797.h"
#include "nv_push_clcb97.h"
#include "nv_push_clcd97.h"
#include "clc7c0.h"
@ -533,6 +534,9 @@ nvk_push_draw_state_init(struct nvk_queue *queue, struct nv_push *p)
}
}
if (pdev->info.cls_eng3d >= AMPERE_B)
P_IMMD(p, NVC797, SET_ROOT_TABLE_PREFETCH, 0x3f);
if (pdev->info.cls_eng3d >= TURING_A) {
/* I don't know what these values actually mean. I just copied them
* from the way the blob sets up the hardware.