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

Commit d9bbc577 authored by Ingrid Gallardo's avatar Ingrid Gallardo Committed by Matt Wagantall
Browse files

msm: mdss: add support to configure panic luts for cursor



Current code does not program the panic luts
for the cursor pipes. Adding cursor pipes to
the panic luts programming.

Change-Id: Id17f5006d5344e8fd9363bcf4ff8bff2fa07cc5a
Signed-off-by: default avatarIngrid Gallardo <ingridg@codeaurora.org>
parent fecdcdf6
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -134,6 +134,14 @@ void mdss_mdp_config_pipe_panic_lut(struct mdss_data_type *mdata)
			mdss_mdp_pipe_write(pipe, MDSS_MDP_REG_SSPP_SAFE_LUT,
				robust_lut);
		}

		for (i = 0; i < mdata->ncursor_pipes; i++) {
			pipe = &mdata->cursor_pipes[i];
			mdss_mdp_pipe_write(pipe, MDSS_MDP_REG_SSPP_DANGER_LUT,
				panic_lut);
			mdss_mdp_pipe_write(pipe, MDSS_MDP_REG_SSPP_SAFE_LUT,
				robust_lut);
		}
	}
}