nv50: add support for doing membars
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 21 Mar 2021 03:40:00 +0000 (23:40 -0400)
committerMarge Bot <eric+marge@anholt.net>
Sat, 1 May 2021 20:04:21 +0000 (20:04 +0000)
commitb53b96a86a13cc321ef8812b9ec96c2c229e8e5c
tree5670bcdc202eecfa52ba81d0c92db7633d1605aa
parentf451854f39f580c6c95a574428498e32ffb6e840
nv50: add support for doing membars

This requires an address that's safe to read from.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10164>
src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nv50.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp
src/gallium/drivers/nouveau/codegen/nv50_ir_target.cpp
src/gallium/drivers/nouveau/nv50/nv50_context.h
src/gallium/drivers/nouveau/nv50/nv50_program.c
src/gallium/drivers/nouveau/nv50/nv50_screen.c