Re: [PATCH] drm/rockchip: vop: Add timeout for DSP hold

2021-10-17 Thread Heiko Stuebner
On Fri, 8 Oct 2021 15:31:04 -0700, Brian Norris wrote: > 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.

[PATCH] drm/rockchip: vop: Add timeout for DSP hold

2021-10-08 Thread Brian Norris
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.