diff options
author | Rob Clark <robdclark@gmail.com> | 2017-10-19 16:00:31 -0400 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2017-10-28 14:02:55 -0400 |
commit | 9d9ea7a9c6005a42e9837da96ff138a6ddcd593c (patch) | |
tree | e9a5e940f9ba4075cea925fd18b1b27fd2ade5f8 /drivers/gpu/drm/msm/msm_atomic.c | |
parent | 3c352b66905b29689bbf1c8e3722c26de65f086d (diff) |
drm/msm/mdp5: restore cursor state when enabling crtc
Since we enabled runtime PM, we cannot count on cursor registers to
retain their values. This can result in situations where we think the
cursor is enabled when we enable the CRTC but it is trying to scan out
null (and the rest of cursor position/size is lost), resulting in faults
and generally angering the hw when coming out of DPMS with a cursor
enabled.
stable backport note: reverting 774e39ee3572 is also a suitable fix
Fixes: 774e39ee3572 drm/msm/mdp5: Set up runtime PM for MDSS
Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Archit Taneja <architt@codeaurora.org>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_atomic.c')
0 files changed, 0 insertions, 0 deletions