summaryrefslogtreecommitdiff
path: root/drivers/parport/share.c
diff options
context:
space:
mode:
authorAbhinav Kumar <abhinavk@codeaurora.org>2017-03-24 21:54:23 -0700
committerYunyun Cao <yunyunc@codeaurora.org>2017-04-20 17:49:21 +0800
commit13b76dbaebba4530e7738003f269dd8b19d9af86 (patch)
treeb8d4f2aef1a33fd5787e4c0490f3249def063809 /drivers/parport/share.c
parente206db34cbe3a8b14bd44bbc37dee5d970eba1e3 (diff)
drm/msm/sde: remove redundant CRTC event caching
Currently both sde_crtc_atomic_begin() and sde_crtc_atomic_flush() add the CRTC state event to the cached sde_crtc->event. This has a potential NULL ptr issue in the case of vblank event firing in between sde_crtc_atomic_begin() and sde_crtc_atomic_flush() because the upstream DRM vblank API send_vblank_event() doesn't consider the case when the VBLANK interrupt could have already freed any pending vblank events. Remove the caching from sde_crtc_atomic_begin() to avoid this condition. Also make sure that a page_flip event was indeed submitted before signaling the complete_flip() by setting a PENDING_FLIP flag right after HW flush. Change-Id: Ib201d2851e57bf22ec1f00814fc2e4dd2f35bfa1 Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org> Signed-off-by: Yunyun Cao <yunyunc@codeaurora.org>
Diffstat (limited to 'drivers/parport/share.c')
0 files changed, 0 insertions, 0 deletions