diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2019-03-14 11:10:51 +0100 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2019-03-14 11:10:51 +0100 |
commit | 79bc0e054f37026377d54cac6cd8127d4aa9baca (patch) | |
tree | 3cd64c86823d3a52c2154fdd973e31bbdd624ad2 /src | |
parent | f6cd4a67d7de5d3ff1a6e58a8c83749fc8ffc310 (diff) |
Use radeon_finish in drmmode_crtc_scanout_update
radeon_glamor_finish only works if we're using glamor, otherwise it'll
crash.
Fixes: ce7db51020d3 "Cancel pending scanout update in drmmode_crtc_scanout_update"
Bug: https://bugs.debian.org/924540
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/drmmode_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c index c5fccd2a..002513f1 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -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-> |