drm/omap: sdi: fix bridge enable/disable
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 27 Nov 2020 08:52:41 +0000 (10:52 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 30 Nov 2020 09:27:57 +0000 (11:27 +0200)
commitfd4e788e971ce763e50762d7b1a0048992949dd0
treebdc7132344e4c171a3b48bf2dd26a7c9d11937b1
parent7c4bada12d320d8648ba3ede6f9b6f9e10f1126a
drm/omap: sdi: fix bridge enable/disable

When the SDI output was converted to DRM bridge, the atomic versions of
enable and disable funcs were used. This was not intended, as that would
require implementing other atomic funcs too. This leads to:

WARNING: CPU: 0 PID: 18 at drivers/gpu/drm/drm_bridge.c:708 drm_atomic_helper_commit_modeset_enables+0x134/0x268

and display not working.

Fix this by using the legacy enable/disable funcs.

Fixes: 8bef8a6d5da81b909a190822b96805a47348146f ("drm/omap: sdi: Register a drm_bridge")
Reported-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Tested-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: stable@vger.kernel.org # v5.7+
Link: https://patchwork.freedesktop.org/patch/msgid/20201127085241.848461-1-tomi.valkeinen@ti.com
drivers/gpu/drm/omapdrm/dss/sdi.c