mbox series

[v5,0/2] handle vblank when disabling ctc with interrupt disabled

Message ID cover.1561729581.git.bob.beckett@collabora.com (mailing list archive)
Headers show
Series handle vblank when disabling ctc with interrupt disabled | expand

Message

Bob Beckett June 28, 2019, 2:15 p.m. UTC
Add warning when about to send stale vblank.
Revert change that stops vblank info being updated if interrupts already
disabled. This fixes a stale vblank timestamp issue seen on drm/imx.


Changes since v2:
Split up the patch in to smaller pieces.
Add warning when about to send bogus vblank event.
Update vblank to best guess info during drm_vblank_disable_and_save.

Changes since v3:
Update cover letter text to describe remaining actions.
Drop drm/imx patches as they have now been merged.
Replace vblank info estimation patch with a revert of the issue that
caused the need for estimation.

Changes since v4:
Updated doc for drm_crtc_send_vblank_event() based on feedback.
Confirmed that htmldoc looks good.

Robert Beckett (2):
  drm/vblank: warn on sending stale event
  Revert "drm/vblank: Do not update vblank count if interrupts are
    already disabled."

 drivers/gpu/drm/drm_vblank.c | 36 ++++++++++++++++++++++++++----------
 1 file changed, 26 insertions(+), 10 deletions(-)