From 32ec0662fd34f222921f35e155850922c662ccce Mon Sep 17 00:00:00 2001 From: Mark Janes Date: Thu, 29 Apr 2021 12:48:02 -0700 Subject: [PATCH] intel/compiler: Add LSC messages to brw_schedule_instructions v2 (Jason Ekstrand): - Use lsc_msg_desc_opcode() - Drop all opcodes for now and add them in later patches. Reviewed-by: Jason Ekstrand Reviewed-by: Sagar Ghuge Part-of: --- src/intel/compiler/brw_schedule_instructions.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/intel/compiler/brw_schedule_instructions.cpp b/src/intel/compiler/brw_schedule_instructions.cpp index 78a3663975c..6705bf68575 100644 --- a/src/intel/compiler/brw_schedule_instructions.cpp +++ b/src/intel/compiler/brw_schedule_instructions.cpp @@ -528,6 +528,15 @@ schedule_node::set_latency_gfx7(bool is_haswell) } break; + case GFX12_SFID_UGM: + case GFX12_SFID_TGM: + case GFX12_SFID_SLM: + switch (lsc_msg_desc_opcode(devinfo, inst->desc)) { + default: + unreachable("unsupported new data port message instruction"); + } + break; + case GEN_RT_SFID_BINDLESS_THREAD_DISPATCH: case GEN_RT_SFID_RAY_TRACE_ACCELERATOR: /* TODO.