diff options
author | Brian Norris <briannorris@chromium.org> | 2021-10-08 15:31:04 -0700 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2021-10-17 23:47:18 +0200 |
commit | 085af7d28897deb08a4f64a29e55525f963cc041 (patch) | |
tree | bb28c386ea208196b305bf5d6c9169ec302c74ef /crypto/ecdh.c | |
parent | 75ad021f21927311b8d454939eb248a50df92525 (diff) |
drm/rockchip: vop: Add timeout for DSP hold
If hardware is malfunctioning (e.g., misconfigured clocks?), we can get
stuck here forever, holding various DRM locks and eventually locking up
the entire system. It's better to complain loudly and move on, than to
lock up the system.
In local tests, this operation takes less than 20ms.
Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20211008153102.1.I2a5dbaaada35023a9703a8db7af501528fbb6e31@changeid
Diffstat (limited to 'crypto/ecdh.c')
0 files changed, 0 insertions, 0 deletions