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

Viewing all changes in revision 3072.

  • Committer: Michel Dänzer
  • Author(s): Michel Dänzer
  • Date: 2019-03-04 16:07:14 UTC
  • Revision ID: git-v1:c301b8af25d2c2cd49035a4395ebe6c3612df366
dri2: Call drm_queue_handle_deferred in dri2_deferred_event

drm_queue_handler just puts the event on the signalled list; without
calling drm_queue_handle_deferred, actual processing of the event may be
delayed indefinitely, e.g. until another event arrives from the kernel.

This could result in DRI2 clients hanging during DPMS off.

Fixes: ba83a866af5a "Add radeon_drm_handle_event wrapper for
                     drmHandleEvent"
(Ported from amdgpu commit 09be74a3d1dd9604336d9a27f98d132b262dcbaf)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: