diff options
| author | Ingrid Gallardo <ingridg@codeaurora.org> | 2015-03-26 12:22:24 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:40:15 -0700 |
| commit | 4fcedbd15f89571a22b3851a300a66ea83321856 (patch) | |
| tree | 0389f093a5c2f4e3b207756a8881de6323992b2b | |
| parent | 34adc7a650e33836534fd3f89ee5e95e17810581 (diff) | |
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: Ingrid Gallardo <ingridg@codeaurora.org>
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_mdp_pipe.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/video/fbdev/msm/mdss_mdp_pipe.c b/drivers/video/fbdev/msm/mdss_mdp_pipe.c index c7ce92334e05..cefc13dec875 100644 --- a/drivers/video/fbdev/msm/mdss_mdp_pipe.c +++ b/drivers/video/fbdev/msm/mdss_mdp_pipe.c @@ -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); + } } } |
