Permalink
Browse files

Clear scanout buffer before acquiring it

  • Loading branch information...
shadeslayer committed Dec 13, 2017
1 parent 3c46618 commit 3470bab471881ef07b822b43ec335aa432fbb7a6
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/drmmode_display.c
@@ -281,6 +281,7 @@ drmmode_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode,

TRACE_ENTER();

armsoc_bo_clear(pARMSOC->scanout);
fb_id = armsoc_bo_get_fb(pARMSOC->scanout);

if (fb_id == 0) {

0 comments on commit 3470bab

Please sign in to comment.