mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
nvk: Do not use SET_L1_CONFIGURATION on 3D state init
There is no reasons to cut 48KiB of memory out of L1 cache on gfx considering that we do not have shared memory and that local memory does not need to be directly addressable. This is not set by NVIDIA proprietary driver and the golden ctx setup keep it uninitialized. Unsure if that will change anything in term of performance but it might reduce L1 cache usage on 3D. Signed-off-by: Mary Guillemard <mary@mary.zone> Reviewed-by: Mel Henning <mhenning@darkrefraction.com> Tested-by: Thomas H.P. Andersen <phomes@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40753>
This commit is contained in:
parent
3b674771bb
commit
90c005dd90
1 changed files with 0 additions and 3 deletions
|
|
@ -293,9 +293,6 @@ nvk_push_draw_state_init(struct nvk_queue *queue, struct nv_push *p)
|
|||
|
||||
P_IMMD(p, NV9097, SET_ZCULL_STATS, ENABLE_TRUE);
|
||||
|
||||
P_IMMD(p, NV9097, SET_L1_CONFIGURATION,
|
||||
DIRECTLY_ADDRESSABLE_MEMORY_SIZE_48KB);
|
||||
|
||||
P_IMMD(p, NV9097, SET_REDUCE_COLOR_THRESHOLDS_ENABLE, V_FALSE);
|
||||
P_IMMD(p, NV9097, SET_REDUCE_COLOR_THRESHOLDS_UNORM8, {
|
||||
.all_covered_all_hit_once = 0xff,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue