]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: hdmi: Pass vc4_hdmi to CEC code
authorMaxime Ripard <maxime@cerno.tech>
Thu, 3 Sep 2020 08:01:18 +0000 (10:01 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 7 Sep 2020 16:05:28 +0000 (18:05 +0200)
commitf19ce9f6627f744caf67537384926072eb0f1341
tree05f85356cee490738005782e9ffbd8bd32fd0ba0
parent15d02186919db52d83b102fdc9473ee1328234f2
drm/vc4: hdmi: Pass vc4_hdmi to CEC code

Our CEC code also retrieves the associated vc4_hdmi by setting the
vc4_dev pointer as its private data, and then dereferences its vc4_hdmi
pointer.

In order to eventually get rid of that pointer, we can simply pass the
vc4_hdmi pointer directly.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Tested-by: Chanwoo Choi <cw00.choi@samsung.com>
Tested-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/cb575cb9e13018bce131b8535e5b572dc1027877.1599120059.git-series.maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_hdmi.c