Archit Taneja aa649e875d drm/msm/mdp5: mdp5_crtc: Restore cursor state only if LM cursors are enabled
MDP5 on newer SoCs support cursor planes (i.e, cursor SSPPs). They are a
separate entity unlike the cursors within LM.

Do not try to restore the MDP5 LM cursor registers, or the corresponding
CTL bits if we are not using LM cursors.

Also, since we've introduced a new variable 'lm_cursor_enabled', we can
now use it to avoid creating a different sets of crtc_funcs for CRTCs
with LM cursors and CRTCs with cursor planes.

Fixes: "drm/msm/mdp5: restore cursor state when enabling crtc"
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
2017-10-28 14:02:58 -04:00
..
2017-09-02 14:23:06 +02:00
2017-08-27 19:29:46 +02:00
2017-10-16 11:29:05 +02:00
2017-10-01 17:01:39 +02:00
2017-09-25 08:35:53 +02:00
2017-08-27 19:30:49 +02:00
2017-10-17 10:13:47 +10:00
2017-10-16 11:29:28 +02:00
2017-08-27 19:31:06 +02:00
2017-10-25 16:31:29 +10:00