commit | 9062155de0dfdc5cdfd38caf09d7f14b1833a2ca | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Wed Mar 01 11:12:32 2017 +0100 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Tue Mar 07 07:09:14 2017 +0100 |
tree | 5605edb841fcfa23429c11d8e022224c35d996da | |
parent | ecefd94e8bde7de4f03d6fc874378d826537df7b [diff] |
qxl: limit monitor config read retries When reading the monitor config fails, don't retry forever. If it fails ten times in a row just give up to avoid the driver hangs. Also add a small delay after each attempt, so the host has a chance to complete a partial update. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk> Link: http://patchwork.freedesktop.org/patch/msgid/1488363154-6889-3-git-send-email-kraxel@redhat.com