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

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

Merge "msm: mdp: update pgc"

parents 8007444c 8b6fc57a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1995,6 +1995,8 @@ set_ops:
		writel_relaxed(0, base_addr + PGC_OPMODE_OFF);
	} else if (pgc_data->flags & MDP_PP_OPS_ENABLE) {
		val = PGC_ENABLE;
		val |= (pgc_data->flags & MDP_PP_PGC_ROUNDING_ENABLE)
			? BIT(1) : 0;
		writel_relaxed(val, base_addr + PGC_OPMODE_OFF);
		*sts |= PP_STS_ENABLE;
	}
+1 −0
Original line number Diff line number Diff line
@@ -944,6 +944,7 @@ struct mdp_ar_gc_lut_data {
	uint32_t offset;
};

#define MDP_PP_PGC_ROUNDING_ENABLE 0x10
struct mdp_pgc_lut_data {
	uint32_t version;
	uint32_t block;