Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9f757341 authored by Blagovest Kolenichev's avatar Blagovest Kolenichev
Browse files

Revert "drm/msm/disp/dpu: Use proper define for drm_encoder_init() 'encoder_type'"



This reverts commit 721b54a6.

This is a preparation change for merging LTS tag v4.19.3 into
msm-kona branch.

DPU will not be used in 4.19 downstream display driver code.
Separate patches are submitted to introduce the downstream
version of the display driver.

Change-Id: I823da2a2ac319c192cb6289596437d1244c5b028
Signed-off-by: default avatarBlagovest Kolenichev <bkolenichev@codeaurora.org>
parent 73aa1c86
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -450,7 +450,7 @@ static void _dpu_kms_initialize_dsi(struct drm_device *dev,
	int i, rc;
	int i, rc;


	/*TODO: Support two independent DSI connectors */
	/*TODO: Support two independent DSI connectors */
	encoder = dpu_encoder_init(dev, DRM_MODE_ENCODER_DSI);
	encoder = dpu_encoder_init(dev, DRM_MODE_CONNECTOR_DSI);
	if (IS_ERR_OR_NULL(encoder)) {
	if (IS_ERR_OR_NULL(encoder)) {
		DPU_ERROR("encoder init failed for dsi display\n");
		DPU_ERROR("encoder init failed for dsi display\n");
		return;
		return;