]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: hdmi: Split the interrupt handlers
authorMaxime Ripard <maxime@cerno.tech>
Mon, 11 Jan 2021 14:23:03 +0000 (15:23 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 28 Jan 2021 09:28:58 +0000 (10:28 +0100)
commit693292ab112fb01ba0474d5684fd440c6c0d23f9
tree987ab28437a4294b92d5962dbc220a790481436f
parent449a0764cb50246fbfe5aab0a852319e288ed498
drm/vc4: hdmi: Split the interrupt handlers

The BCM2711 has two different interrupt sources to transmit and receive
CEC messages, provided through an external interrupt chip shared between
the two HDMI interrupt controllers.

The rest of the CEC controller is identical though so we need to change
a bit the code organisation to share the code as much as possible, yet
still allowing to register independent handlers.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Tested-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Link: https://patchwork.freedesktop.org/patch/msgid/20210111142309.193441-10-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_hdmi.c