commit | 0ad679d157aa69ddf0ee46b564c9fbb646cf6d4e | [log] [tgz] |
---|---|---|
author | Ben Skeggs <bskeggs@redhat.com> | Fri May 29 17:57:29 2020 +1000 |
committer | Ben Skeggs <bskeggs@redhat.com> | Mon Jun 01 17:28:42 2020 +1000 |
tree | 9d690e598b786630c9da5781dd54c0f135f432ce | |
parent | a1ef8bad506e4ffa0c57ac5f8cb99ab5cbc3b1fc [diff] |
drm/nouveau/kms/gt215-: fix race with audio driver runpm The audio driver can call into nouveau right while we're in the middle of re-fetching the EDID, and decide it no longer needs to be awake. Stop depending on EDID in the audio component get_eld() callback, and instead cache whether audio support is present from the prior modeset. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>