diff options
author | 2017-03-01 11:12:32 +0100 | |
---|---|---|
committer | 2017-03-07 07:09:14 +0100 | |
commit | 9062155de0dfdc5cdfd38caf09d7f14b1833a2ca (patch) | |
tree | 5605edb841fcfa23429c11d8e022224c35d996da /drivers/gpu/drm/msm/msm_rd.c | |
parent | qxl: drop mode_info.modes & related code. (diff) | |
download | linux-dev-9062155de0dfdc5cdfd38caf09d7f14b1833a2ca.tar.xz linux-dev-9062155de0dfdc5cdfd38caf09d7f14b1833a2ca.zip |
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
Diffstat (limited to 'drivers/gpu/drm/msm/msm_rd.c')
0 files changed, 0 insertions, 0 deletions