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

Commit b6dba1d1 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: mdss: rotator: configure pipe pixel extension"

parents 9f149de1 781eb31f
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1660,6 +1660,7 @@ static int mdss_rotator_config_hw(struct mdss_rot_hw_resource *hw,
	pipe->img_height = item->input.height;
	mdss_rotator_translate_rect(&pipe->src, &item->src_rect);
	mdss_rotator_translate_rect(&pipe->dst, &item->src_rect);
	pipe->scale.enable_pxl_ext = 0;

	pipe->params_changed++;

@@ -1671,6 +1672,12 @@ static int mdss_rotator_config_hw(struct mdss_rot_hw_resource *hw,
		goto done;
	}

	ret = mdss_mdp_overlay_setup_scaling(pipe);
	if (ret) {
		pr_err("scaling setup failed %d\n", ret);
		goto done;
	}

	ret = mdss_mdp_pipe_queue_data(pipe, &entry->src_buf);
	pr_debug("Config pipe. src{%u,%u,%u,%u}f=%u\n"
		"dst{%u,%u,%u,%u}f=%u session_id=%u\n",