mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
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:
parent
30b3de6ec4
commit
ad65ed643b
1 changed files with 4 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue