On Tue, Feb 21, 2017 at 4:03 AM, Michel Dänzer <[email protected]> wrote: > From: Michel Dänzer <[email protected]> > > To make sure the screen pixmap contents are up to date when it starts > being scanned out. > > Signed-off-by: Michel Dänzer <[email protected]>
Series is: Reviewed-by: Alex Deucher <[email protected]> > --- > src/radeon_present.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/src/radeon_present.c b/src/radeon_present.c > index b36e29b19..1b0ddcb82 100644 > --- a/src/radeon_present.c > +++ b/src/radeon_present.c > @@ -404,6 +404,8 @@ modeset: > old_fb_id = info->drmmode.fb_id; > info->drmmode.fb_id = 0; > > + radeon_cs_flush_indirect(scrn); > + radeon_bo_wait(info->front_bo); > for (i = 0; i < config->num_crtc; i++) { > xf86CrtcPtr crtc = config->crtc[i]; > drmmode_crtc_private_ptr drmmode_crtc = crtc->driver_private; > -- > 2.11.0 > > _______________________________________________ > amd-gfx mailing list > [email protected] > https://lists.freedesktop.org/mailman/listinfo/amd-gfx _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
