drm/ast: fixed reading monitor EDID not stable issue
authorY.C. Chen <yc_chen@aspeedtech.com>
Thu, 22 Nov 2018 03:56:28 +0000 (11:56 +0800)
committerDave Airlie <airlied@redhat.com>
Wed, 28 Nov 2018 23:55:55 +0000 (09:55 +1000)
commit300625620314194d9e6d4f6dda71f2dc9cf62d9f
tree0ecda29dbac08758947a2a40c4105f752fa6cb56
parentdc25ab067645eabd037f1a23d49a666f9e0b8c68
drm/ast: fixed reading monitor EDID not stable issue

v1: over-sample data to increase the stability with some specific monitors
v2: refine to avoid infinite loop
v3: remove un-necessary "volatile" declaration

[airlied: fix two checkpatch warnings]

Signed-off-by: Y.C. Chen <yc_chen@aspeedtech.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1542858988-1127-1-git-send-email-yc_chen@aspeedtech.com
drivers/gpu/drm/ast/ast_mode.c