Jim Qu cc1d0824a8 Wait for pending scanout update before calling drmmode_crtc_scanout_free
There is a case that when set screen from reverse to normal, the old
scanout damage is freed in modesetting before scanout update handler,
so it causes segment fault issue.

Signed-off-by: Jim Qu <Jim.Qu@amd.com>

[ Michel Dänzer: Only call drmmode_crtc_wait_pending_event before
  drmmode_crtc_scanout_free is actually called, slightly tweak commit
  message ]
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
(Ported from amdgpu commit 9f6a8905611b5b1d8fcd31bebbc9af7ca1355cc3)
Acked-by: Alex Deucher <alexander.deucher@amd.com>
2018-07-11 18:34:53 +02:00
2014-08-05 18:33:12 +09:00
2017-07-28 11:57:41 +09:00
2017-05-18 11:12:34 +09:00

xf86-video-ati - ATI/AMD Radeon video driver for the Xorg X server

Patches and questions regarding this software should be directed at the
amd-gfx mailing list:

        https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Please submit bug reports to the Xorg bugzilla:

        https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/Radeon

The master development code repository can be found at:

        git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati

        https://cgit.freedesktop.org/xorg/driver/xf86-video-ati

For patch submission instructions, see:

        https://www.x.org/wiki/Development/Documentation/SubmittingPatches

For more information on the git code manager, see:

        https://wiki.x.org/wiki/GitPage

Description
No description provided
Readme 8 MiB
Languages
C 99.3%
M4 0.3%
Makefile 0.2%
Perl 0.1%