drm/omap: Set dispc_channel_connect from DSS output connect handlers
The omap_dss_device.dispc_channel_connect field is used by DSS outputs to fail the .enable() operation if they're not connected. Set the field directly from the (dis)connect handlers of the DSS outputs instead of going through the CRTC dss_mgr operations. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:

committed by
Tomi Valkeinen

parent
d25a7d6746
commit
0f37938c7c
@@ -114,8 +114,6 @@ static int omap_crtc_dss_connect(struct omap_drm_private *priv,
|
||||
enum omap_channel channel,
|
||||
struct omap_dss_device *dst)
|
||||
{
|
||||
dst->dispc_channel_connected = true;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -123,7 +121,6 @@ static void omap_crtc_dss_disconnect(struct omap_drm_private *priv,
|
||||
enum omap_channel channel,
|
||||
struct omap_dss_device *dst)
|
||||
{
|
||||
dst->dispc_channel_connected = false;
|
||||
}
|
||||
|
||||
static void omap_crtc_dss_start_update(struct omap_drm_private *priv,
|
||||
|
Reference in New Issue
Block a user