-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pause/resume HDMI playback will cause IPC error and kernel call trace #238
Comments
@keqiaozhang What's the possibility or any BKM to reproduce this issue? |
@mengdonglin |
do you see this with topic/sof-dev on an Up2 or is this GLK-specific? |
@plbossart |
@keqiaozhang I wonder if this issue #239 and thesofproject/sof#522 have a common root cause. We need to fix the hdac_hdmi_runtime_suspend() routine to turn display power off only once. This commit in debug/cros-sof-v4.14-rebase f931c90 |
Summary: dmesg: reproduce steps:
Test env: |
@markyang it seems like the error is different on the UP2. On GLK, we're seeing ipc error whereas on the up2, we're seeing i/o error. I think these should be separated |
@keqiaozhang @keyonjie could you please revert f931c90 on the debug/cros-sof-v4.14-rebase and check if the error still exists on glk. I could not reproduce it after I reverted that commit. |
@ranj063 I can't see it on my glk after reverted. |
@plbossart maybe we need redo this patch. |
Yes, I don't know why that patch was merged in the chrome kernel. There was a bit of pushback on it and it seemed quite broken. I don't even see why on alsa-devel it has the label [RESEND] when I see no trace of the initial discussion, so not sure if this was legit or not. The only thing I see after the initial contribution is bf27026 ('ASoC: hdac_hdmi: Add documentation for power management'). We should double-check with the Chrome team why they believe this patch was necessary, what problem it fixes. In the mean time let's make sure SOF complies with the documented power management expectations. |
Now that I think of this, there was something odd when I worked on cros-v4.14-intel-audio, At the time I didn't flag a conflict but remember thinking something was off in the reference counting. |
@plbossart let me check with the chrome team today and get back. |
@plbossart I checked with the chrome team and this patch is necessary but we need to revert it and re-apply it properly so that there is only one display power off and it is after the links are powered down. |
@ranj063 the right way to do this is submit it through sof-dev, then apply on chrome. Also if it's necessary we should submit this patch upstream, not sure what happened here last Summer. |
This issue is basically fixed on your kernel branch, but in one corner case like keep pressing the space key for few seconds(less than 5 seconds). it will run to ipc timed out error. kernel driver- ranja063-cros-sof-v4.14-rebase:a38231 |
@keqiaozhang can you please try it with glk-004-drop-stable? I didnt see the issue with pressing space key continuously |
Confirmed that this issue is fixed. |
This issue happens when keep doing pause/resume HDMI playback.
How to reproduce:
error message:
dmesg.log
logger-t.log
Tested with:
soft-master:4ac9248f
sof-master:43da16
kernel-debug/cros-v4.14-rebase: 90eee4
The text was updated successfully, but these errors were encountered: