drm/omap: Remove supported output check in CRTC connect handler
The CRTC connect handler checks whether the DSS output supports the DISPC channel assigned to it. As the channel is assigned to the output by the output driver a failure there could only result from a driver bug. All the output drivers have been verified and they are always assigned a DISPC channel that is supported on the SoC they run on. The check can thus be removed. 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
67dfd2d3d0
commit
d25a7d6746
@@ -2904,13 +2904,6 @@ static int dispc_ovl_enable(struct dispc_device *dispc,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static enum omap_dss_output_id
|
||||
dispc_mgr_get_supported_outputs(struct dispc_device *dispc,
|
||||
enum omap_channel channel)
|
||||
{
|
||||
return dss_get_supported_outputs(dispc->dss, channel);
|
||||
}
|
||||
|
||||
static void dispc_lcd_enable_signal_polarity(struct dispc_device *dispc,
|
||||
bool act_high)
|
||||
{
|
||||
@@ -4742,7 +4735,6 @@ static const struct dispc_ops dispc_ops = {
|
||||
.mgr_set_lcd_config = dispc_mgr_set_lcd_config,
|
||||
.mgr_set_timings = dispc_mgr_set_timings,
|
||||
.mgr_setup = dispc_mgr_setup,
|
||||
.mgr_get_supported_outputs = dispc_mgr_get_supported_outputs,
|
||||
.mgr_gamma_size = dispc_mgr_gamma_size,
|
||||
.mgr_set_gamma = dispc_mgr_set_gamma,
|
||||
|
||||
|
Reference in New Issue
Block a user