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

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

Merge "drm/msm/sde: Initialize REG_DMA sspp_buf for all the rects" into dev/msm-4.14-display

parents f382dead b1c44f20
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1603,7 +1603,7 @@ int reg_dmav1_init_sspp_op_v4(int feature, enum sde_sspp idx)
		rc = (is_supported) ? 0 : -ENOTSUPP;

	if (!rc) {
		for (i = SDE_SSPP_RECT_0; i < SDE_SSPP_RECT_MAX; i++) {
		for (i = SDE_SSPP_RECT_SOLO; i < SDE_SSPP_RECT_MAX; i++) {
			rc = reg_dma_buf_init(
				&sspp_buf[i][sspp_feature_map[feature]][idx],
				sspp_feature_reg_dma_sz[feature]);
@@ -2254,7 +2254,7 @@ int reg_dmav1_deinit_sspp_ops(enum sde_sspp idx)
		return -EINVAL;
	}

	for (i = SDE_SSPP_RECT_0; i < SDE_SSPP_RECT_MAX; i++) {
	for (i = SDE_SSPP_RECT_SOLO; i < SDE_SSPP_RECT_MAX; i++) {
		for (j = 0; j < REG_DMA_FEATURES_MAX; j++) {
			if (!sspp_buf[i][j][idx])
				continue;