Skip to content
Browse files

kms: fix multiple rotations in noaccel mode

  • Loading branch information...
1 parent ab89aa0 commit ef4957492956df54fafa6c75d576a07ce678ea0a Ben Skeggs committed
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/drmmode_display.c
View
3 src/drmmode_display.c
@@ -504,8 +504,7 @@ drmmode_crtc_shadow_destroy(xf86CrtcPtr crtc, PixmapPtr rotate_pixmap, void *dat
if (data) {
drmModeRmFB(drmmode->fd, drmmode_crtc->rotate_fb_id);
drmmode_crtc->rotate_fb_id = 0;
- if (!pNv->NoAccel)
- nouveau_bo_ref(NULL, &drmmode_crtc->rotate_bo);
+ nouveau_bo_ref(NULL, &drmmode_crtc->rotate_bo);
drmmode_crtc->rotate_pixmap = NULL;
}
}

0 comments on commit ef49574

Please sign in to comment.
Something went wrong with that request. Please try again.