SWDEV-232428 - Fix CI regressions caused by 99e8ac5
Change-Id: I36e9ce964f4d7733450eee356d425d23e1d7ff2c
This commit is contained in:
@@ -362,11 +362,11 @@ void HostcallListener::removeBuffer(HostcallBuffer* buffer) {
|
||||
|
||||
bool HostcallListener::initialize(const amd::Device &dev) {
|
||||
doorbell_ = dev.createSignal();
|
||||
#ifdef WITH_PAL_DEVICE
|
||||
auto ws = device::Signal::WaitState::Active;
|
||||
#elif WITH_HSA_DEVICE
|
||||
#ifdef WITH_HSA_DEVICE
|
||||
auto ws = device::Signal::WaitState::Blocked;
|
||||
#endif
|
||||
#elif
|
||||
auto ws = device::Signal::WaitState::Active;
|
||||
#endif
|
||||
if ((doorbell_ == nullptr) || !doorbell_->Init(dev, SIGNAL_INIT, ws)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -355,7 +355,6 @@ hsa_kernel_dispatch_packet_t* HSAILKernel::loadArguments(VirtualGPU& gpu, const
|
||||
if (!buffer) {
|
||||
ClPrint(amd::LOG_ERROR, amd::LOG_KERN,
|
||||
"Kernel expects a hostcall buffer, but none found");
|
||||
return false;
|
||||
}
|
||||
assert(it.size_ == sizeof(buffer) && "check the sizes");
|
||||
WriteAqlArgAt(const_cast<address>(parameters), &buffer, it.size_, it.offset_);
|
||||
|
||||
Reference in New Issue
Block a user