mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
drm/rockchip: vop: add BCSH support function
Change-Id: I17bcd5a07b93b3c68aa892606f886bcd3a7673a0 Signed-off-by: Mark Yao <mark.yao@rock-chips.com> Signed-off-by: Sandy Huang <hjc@rock-chips.com>
This commit is contained in:
@@ -687,6 +687,7 @@ static int cdn_dp_encoder_atomic_check(struct drm_encoder *encoder,
|
||||
|
||||
s->output_mode = ROCKCHIP_OUT_MODE_AAAA;
|
||||
s->output_type = DRM_MODE_CONNECTOR_DisplayPort;
|
||||
s->tv_state = &conn_state->tv;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -1285,6 +1285,7 @@ dw_mipi_dsi_encoder_atomic_check(struct drm_encoder *encoder,
|
||||
}
|
||||
|
||||
s->output_type = DRM_MODE_CONNECTOR_DSI;
|
||||
s->tv_state = &conn_state->tv;
|
||||
|
||||
if (dsi->slave)
|
||||
s->output_flags |= ROCKCHIP_OUTPUT_DSI_DUAL_CHANNEL;
|
||||
|
||||
@@ -411,6 +411,7 @@ dw_hdmi_rockchip_encoder_atomic_check(struct drm_encoder *encoder,
|
||||
phy_set_bus_width(hdmi->phy, 8);
|
||||
}
|
||||
s->output_type = DRM_MODE_CONNECTOR_HDMIA;
|
||||
s->tv_state = &conn_state->tv;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -281,6 +281,7 @@ rockchip_lvds_encoder_atomic_check(struct drm_encoder *encoder,
|
||||
|
||||
s->output_mode = ROCKCHIP_OUT_MODE_P888;
|
||||
s->output_type = DRM_MODE_CONNECTOR_LVDS;
|
||||
s->tv_state = &conn_state->tv;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -188,6 +188,7 @@ rockchip_rgb_encoder_atomic_check(struct drm_encoder *encoder,
|
||||
}
|
||||
|
||||
s->output_type = DRM_MODE_CONNECTOR_DPI;
|
||||
s->tv_state = &conn_state->tv;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user