Disable bo reuse on shadow framebuffer
This keeps us from trying to set tiling on it while pinned, which also keeps us from trying to unpin it in the kernel, causing an error. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
This commit is contained in:
parent
41784e15d3
commit
f0d760bfd7
|
|
@ -489,6 +489,8 @@ drmmode_crtc_shadow_allocate(xf86CrtcPtr crtc, int width, int height)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
drm_intel_bo_disable_reuse(drmmode_crtc->rotate_bo);
|
||||
|
||||
ret = drmModeAddFB(drmmode->fd, width, height, crtc->scrn->depth,
|
||||
crtc->scrn->bitsPerPixel, rotate_pitch,
|
||||
drmmode_crtc->rotate_bo->handle,
|
||||
|
|
|
|||
Loading…
Reference in New Issue