diff options
author | Hai Li <[email protected]> | 2015-07-27 13:49:45 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2015-08-15 18:27:22 -0400 |
commit | 78b1d470d57dd7a6e0efda63ebad97f0d44e817c (patch) | |
tree | df7ce98b79674d78b29fb050c21be46c1f69ea58 /lib/test-string_helpers.c | |
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 <[email protected]>
[add comment about cancel_work_sync() before drm_irq_uninstall()]
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions