~vcs-imports/xserver-xorg-driver-ati/master

« back to all changes in this revision

Viewing changes to src/radeon_kms.c

  • Committer: Michel Dänzer
  • Author(s): Michel Dänzer
  • Date: 2018-08-17 08:06:43 UTC
  • Revision ID: git-v1:60cd28bbbe4f9db391b4f27c5ff9289d5c2bef40
Remove drmmode_crtc_private_rec::present_vblank_* related code

Not needed anymore with the more robust mechanisms for preventing nested
drmHandleEvent calls introduced in the previous changes.

(Ported from amdgpu commit 85cd8eef0cbed7b409b07f58d76dacd34aa3ddea)
Acked-by: Alex Deucher <alexander.deucher@amd.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
541
541
    drmmode_fb_reference(pRADEONEnt->fd, &drmmode_crtc->fb,
542
542
                         drmmode_crtc->flip_pending);
543
543
    radeon_scanout_flip_abort(crtc, event_data);
544
 
 
545
 
#ifdef HAVE_PRESENT_H
546
 
    if (drmmode_crtc->present_vblank_event_id) {
547
 
        present_event_notify(drmmode_crtc->present_vblank_event_id,
548
 
                             drmmode_crtc->present_vblank_usec,
549
 
                             drmmode_crtc->present_vblank_msc);
550
 
        drmmode_crtc->present_vblank_event_id = 0;
551
 
    }
552
 
#endif
553
544
}
554
545
 
555
546