commit | 78b1d470d57dd7a6e0efda63ebad97f0d44e817c | [log] [tgz] |
---|---|---|
author | Hai Li <hali@codeaurora.org> | Mon Jul 27 13:49:45 2015 -0400 |
committer | Rob Clark <robdclark@gmail.com> | Sat Aug 15 18:27:22 2015 -0400 |
tree | df7ce98b79674d78b29fb050c21be46c1f69ea58 | |
parent | 8a94b0aa372ebf7375c8ea861cb9bbf84b39d2df [diff] |
drm/msm: Enable clocks during enable/disable_vblank() callbacks AHB clock should be enabled before accessing registers during enable/disable_vblank(). Since these 2 callbacks are called in atomic context while clk_prepare may cause thread sleep, a work is scheduled to control vblanks. v2: fixup spinlock initialization Signed-off-by: Hai Li <hali@codeaurora.org> [add comment about cancel_work_sync() before drm_irq_uninstall()] Signed-off-by: Rob Clark <robdclark@gmail.com>