Use the helper drm_atomic_helper_bridge_dsi_input_bus_fmt to
announce the DSI media bus format.

Signed-off-by: Sam Ravnborg <s...@ravnborg.org>
---
 drivers/gpu/drm/bridge/parade-ps8640.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/bridge/parade-ps8640.c 
b/drivers/gpu/drm/bridge/parade-ps8640.c
index d63c762fcd34..23af23522eee 100644
--- a/drivers/gpu/drm/bridge/parade-ps8640.c
+++ b/drivers/gpu/drm/bridge/parade-ps8640.c
@@ -13,6 +13,7 @@
 #include <linux/regmap.h>
 #include <linux/regulator/consumer.h>
 
+#include <drm/drm_atomic_helper.h>
 #include <drm/drm_atomic_state_helper.h>
 #include <drm/drm_bridge.h>
 #include <drm/dp/drm_dp_aux_bus.h>
@@ -538,6 +539,7 @@ static const struct drm_bridge_funcs ps8640_bridge_funcs = {
        .get_edid = ps8640_bridge_get_edid,
        .atomic_post_disable = ps8640_atomic_post_disable,
        .atomic_pre_enable = ps8640_atomic_pre_enable,
+       .atomic_get_input_bus_fmts = drm_atomic_helper_bridge_dsi_input_bus_fmt,
        DRM_BRIDGE_STATE_OPS,
 };
 
-- 
2.32.0

Reply via email to