SWDEV-283981 - [PAL] Support hostcall SQ interrupt

Change-Id: Ic6f0ad384404712d5eeb1eaf600e231a8f8631f7
This commit is contained in:
Vladislav Sytchenko authored and Maneesh Gupta committed 2021-08-22 23:56:08 -07:00
1 parent 74ccf71d53
commit 4589343c3e
3 files changed
+75 -4

No files matched your search

+3 -3
View File
@@ -335,10 +335,10 @@ void HostcallListener::removeBuffer(HostcallBuffer* buffer) {
bool HostcallListener::initialize(const amd::Device &dev) {
doorbell_ = dev.createSignal();
#ifdef WITH_HSA_DEVICE
auto ws = device::Signal::WaitState::Blocked;
#else
#if defined(WITH_PAL_DEVICE) && !defined(_WIN32)
auto ws = device::Signal::WaitState::Active;
#else
auto ws = device::Signal::WaitState::Blocked;
#endif
if ((doorbell_ == nullptr) || !doorbell_->Init(dev, SIGNAL_INIT, ws)) {
return false;