commit | 1e52ed04273d1a37f3c2cfc6961a8c89ecc1797e | [log] [tgz] |
---|---|---|
author | Harsh Sahu <hsahu@codeaurora.org> | Tue Nov 28 14:34:22 2017 -0800 |
committer | Harsh Sahu <hsahu@codeaurora.org> | Wed Nov 29 17:31:46 2017 -0800 |
tree | 557bd401a3c3bf2babf21ee4e780666b35e0dfdf | |
parent | 511157374b8056294df69e10fd415889461fe118 [diff] |
drm/msm/sde: cache crtc in sde encoder DRM framework clears the crtc and connector links during normal display commit work in drm_atomic_helper_update_legacy_modeset_state. This leads to race condition on accessing the crtc and connector pointer. This change caches the crtc pointer on encoder enable and clears it on disable. Change-Id: I0327033a9a7b9070e8acd437e804a8fe0fd1bb97 Signed-off-by: Harsh Sahu <hsahu@codeaurora.org>