nouveau: Null terminate the debug flag list

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
Faith Ekstrand 2023-01-30 20:11:52 -06:00 committed by Marge Bot
parent 4a22e24e98
commit b3531276c6

View file

@ -73,6 +73,7 @@ nouveau_ws_device_set_dbg_flags(struct nouveau_ws_device *dev)
const struct debug_control flags[] = {
{ "push_dump", NVK_DEBUG_PUSH_DUMP },
{ "push_sync", NVK_DEBUG_PUSH_SYNC },
{ NULL, 0 },
};
dev->debug_flags = parse_debug_string(getenv("NVK_DEBUG"), flags);