]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/bridge: it6505: fix hibernate to resume no display issue
authorKuro Chung <kuro.chung@ite.com.tw>
Wed, 22 May 2024 06:55:28 +0000 (14:55 +0800)
committerRobert Foss <rfoss@kernel.org>
Wed, 22 May 2024 09:49:43 +0000 (11:49 +0200)
commit484436ec5c2bffe8f346a09ae1cbc4cbf5e50005
tree13220f90512c6f639d558982a12093ed424fb6cc
parenta856a53de93ef25e44b315fc1aedce609ba2d453
drm/bridge: it6505: fix hibernate to resume no display issue

When the system power resumes, the TTL input of IT6505 may experience
some noise before the video signal stabilizes, necessitating a video
reset. This patch is implemented to prevent a loop of video error
interrupts, which can occur when a video reset in the video FIFO error
interrupt triggers another such interrupt. The patch processes the SCDT
and FIFO error interrupts simultaneously and ignores any video FIFO
error interrupts caused by a video reset.

Fixes: b5c84a9edcd4 ("drm/bridge: add it6505 driver")
Signed-off-by: Kuro Chung <kuro.chung@ite.com.tw>
Signed-off-by: Hermes Wu <hermes.wu@ite.com.tw>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Robert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240522065528.1053439-1-kuro.chung@ite.com.tw
drivers/gpu/drm/bridge/ite-it6505.c