]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Dec 2018 08:38:34 +0000 (09:38 +0100)
commit9e5c74f0c372fbf306f5c6a34746d170b513fcd9
tree536d1f7d122c4b6a19964e2dd8a96c637fb832ff
parent1bb6e0ccbc4d42280d997b1e4a527e59bc14904f
drm/ast: fixed reading monitor EDID not stable issue

[ Upstream commit 300625620314194d9e6d4f6dda71f2dc9cf62d9f ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/ast/ast_mode.c