]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: hdmi: Warn if we access the controller while disabled
authorMaxime Ripard <maxime@cerno.tech>
Thu, 19 Aug 2021 13:59:31 +0000 (15:59 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 25 Oct 2021 13:33:41 +0000 (15:33 +0200)
commitb9094a1748e428ccc086f50a11ab9fdd1654df8f
tree6a76f2297fd3b8f915f33a9c133f7f21bdb2a68d
parent873183708c0c1751bdabfdad882f72f2b92bc450
drm/vc4: hdmi: Warn if we access the controller while disabled

We've had many silent hangs where the kernel would look like it just
stalled due to the access to one of the HDMI registers while the
controller was disabled.

Add a warning if we're about to do that so that it's at least not silent
anymore.

Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20210819135931.895976-7-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_hdmi_regs.h