diff options
author | Chris Wilson <[email protected]> | 2016-12-06 11:37:15 +0000 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2016-12-06 13:41:15 +0100 |
commit | 1fe7841d892925aff10c3b070937e974d7835d2b (patch) | |
tree | d6583207eae0d63583ed099e399cf33652bc5b94 /lib/debugobjects.c | |
parent | d5264ed3823abb0513cbdc5dd7444d4f61954409 (diff) |
drm: Don't block the kworker waiting for mode_config.mutex in output_poll()
If we cannot acquire the mode_config.mutex immediately, just back off and
queue a new attempt after the poll interval. This is mostly to stop the
hung task spam when the system is deadlocked, but it will also lessen
the load (in such extreme cases).
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
[danvet:s/lock/mutex/ per Eric's comment.]
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions