From ffc619b3eb3ce0650177c5d8a5fa29d433980182 Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Mon, 30 Jan 2023 20:12:05 -0600 Subject: [PATCH] nouveau/mme: Invoke SET_OBJECT in the tests Part-of: --- src/nouveau/mme/tests/mme_tu104_sim_hw_test.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/nouveau/mme/tests/mme_tu104_sim_hw_test.cpp b/src/nouveau/mme/tests/mme_tu104_sim_hw_test.cpp index b3b1fa70e57..973ff368879 100644 --- a/src/nouveau/mme/tests/mme_tu104_sim_hw_test.cpp +++ b/src/nouveau/mme/tests/mme_tu104_sim_hw_test.cpp @@ -122,6 +122,12 @@ mme_tu104_sim_test::reset_push() { nv_push_init(&push, (uint32_t *)push_map, PUSH_SIZE / 4); p = &push; + + P_MTHD(p, NVC597, SET_OBJECT); + P_NVC597_SET_OBJECT(p, { + .class_id = dev->info.cls_eng3d, + .engine_id = 0, + }); } void