]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mediatek: Switch the hdmi bridge ops to the atomic versions
authorDafna Hirschfeld <dafna.hirschfeld@collabora.com>
Tue, 30 Mar 2021 11:09:01 +0000 (13:09 +0200)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Thu, 1 Apr 2021 13:57:30 +0000 (21:57 +0800)
commit8217b48d5022d664e0f3a39d1423d3d7272c28ea
tree9168f01997ac199e6feade3d6a90282ba3e77e7f
parent59bfc7cab4ae05875704f6d783858f45b8fd7e61
drm/mediatek: Switch the hdmi bridge ops to the atomic versions

The bridge operation '.enable' and the audio cb '.get_eld'
access hdmi->conn. In the future we will want to support
the flag DRM_BRIDGE_ATTACH_NO_CONNECTOR and then we will
not have direct access to the connector.
The atomic version '.atomic_enable' allows accessing the
current connector from the state.
This patch switches the bridge to the atomic version to
prepare access to the connector in later patches.

Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/mtk_hdmi.c