OSDN Git Service

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)
commit053d231f369ca05cd563ca9738b5a4c73908e697
tree9168f01997ac199e6feade3d6a90282ba3e77e7f
parentfdcbe17c6090acdeb766c0383ce101fdf64177e1
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