You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add timeout for HDA DMA Buffer full wait to avoid FW hang #723
We are seeing FW hang at waiting HDA DMA buffer full(looks we can't get buffer full at some cases, no matter how long we wait).
To avoid this, we need to implement TODO in below comment in hda-dma.c:hda_dma_host_preload(),
while (!(host_dma_reg_read(dma, chan->index, DGCS) & DGCS_BF) &&
(chan->state & HDA_STATE_BF_WAIT))
; /* TODO: this should timeout and not wait forever */
according to the discussion in #783 , this issue can be closed. @keyonjie will open new issue if there are timeouts on top of it. Please be sure to include more details how to reproduce it next time.
Activity
keyonjie commentedon Dec 14, 2018
@mmaka1 Hi Marcin, I am assigning this to you, please feel free to assign it to anybody in your team who can help on it.
lgirdwood commentedon Dec 17, 2018
Lets make this timeout PLATFORM specific and define in platform.h
keyonjie commentedon Dec 27, 2018
some local change which actually workaround this issue:
jajanusz commentedon Dec 27, 2018
@keyonjie
Please check if #783 is good enough for you. There are no reproduction steps, so I didn't test it.
wenqingfu commentedon Jan 9, 2019
according to the discussion in #783 , this issue can be closed. @keyonjie will open new issue if there are timeouts on top of it. Please be sure to include more details how to reproduce it next time.