mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 01:35:20 +08:00
refactor: use same paths when add command mi_semaphore_wait
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
50da32ffb1
commit
3e116ea378
@@ -370,7 +370,8 @@ struct EncodeSempahore {
|
||||
uint64_t compareAddress,
|
||||
uint32_t compareData,
|
||||
COMPARE_OPERATION compareMode,
|
||||
bool registerPollMode);
|
||||
bool registerPollMode,
|
||||
bool waitMode);
|
||||
|
||||
static void addMiSemaphoreWaitCommand(LinearStream &commandStream,
|
||||
uint64_t compareAddress,
|
||||
@@ -383,6 +384,9 @@ struct EncodeSempahore {
|
||||
uint32_t compareData,
|
||||
COMPARE_OPERATION compareMode);
|
||||
|
||||
static void applyMiSemaphoreWaitCommand(LinearStream &commandStream,
|
||||
std::list<void *> &commandsList);
|
||||
|
||||
static constexpr size_t getSizeMiSemaphoreWait() { return sizeof(MI_SEMAPHORE_WAIT); }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user