mirror of
https://github.com/X11Libre/xf86-video-ati.git
synced 2026-03-24 01:24:43 +00:00
Use radeon_finish in drmmode_crtc_scanout_update
radeon_glamor_finish only works if we're using glamor, otherwise it'll
crash.
Fixes: ce7db51020 "Cancel pending scanout update in drmmode_crtc_scanout_update"
Bug: https://bugs.debian.org/924540
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Michel Dänzer
parent
f6cd4a67d7
commit
79bc0e054f
@@ -785,7 +785,7 @@ drmmode_crtc_scanout_update(xf86CrtcPtr crtc, DisplayModePtr mode,
|
||||
screen->GetWindowPixmap(screen->root),
|
||||
extents)) {
|
||||
RegionEmpty(DamageRegion(drmmode_crtc->scanout_damage));
|
||||
radeon_glamor_finish(scrn);
|
||||
radeon_finish(scrn, drmmode_crtc->scanout[scanout_id].bo);
|
||||
|
||||
if (!drmmode_crtc->flip_pending) {
|
||||
radeon_drm_abort_entry(drmmode_crtc->
|
||||
|
||||
Reference in New Issue
Block a user