]> 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:24:39 +0000 (09:24 +0100)
commitf3c73ae453ed3820299030a24032848c58219b3d
tree18d4db5867f85ed5ac6268835304bda24fdc1441
parentcbd6a7ea60687231b1ba0e9a8d52f54e4174711e
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