summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/intel_display.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/intel_display.c b/src/intel_display.c
index ce1b9a8f..f442da93 100644
--- a/src/intel_display.c
+++ b/src/intel_display.c
@@ -494,7 +494,7 @@ intel_crtc_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode,
return FALSE;
}
- drm_intel_gem_bo_disable_resuse(intel->front_buffer);
+ drm_intel_bo_disable_reuse(intel->front_buffer);
}
saved_mode = crtc->mode;
@@ -599,7 +599,7 @@ intel_crtc_shadow_allocate(xf86CrtcPtr crtc, int width, int height)
return NULL;
}
- drm_intel_gem_bo_disable_resuse(intel_crtc->rotate_bo);
+ drm_intel_bo_disable_reuse(intel_crtc->rotate_bo);
intel_crtc->rotate_pitch = rotate_pitch;
return intel_crtc->rotate_bo;
@@ -727,7 +727,7 @@ intel_set_scanout_pixmap(xf86CrtcPtr crtc, PixmapPtr ppix)
ErrorF("have front buffer\n");
}
- drm_intel_gem_bo_disable_resuse(bo);
+ drm_intel_bo_disable_reuse(bo);
intel_crtc->scanout_pixmap = ppix;
return drmModeAddFB(intel->drmSubFD, ppix->drawable.width,
@@ -1500,7 +1500,7 @@ intel_xf86crtc_resize(ScrnInfoPtr scrn, int width, int height)
if (ret)
goto fail;
- drm_intel_gem_bo_disable_resuse(intel->front_buffer);
+ drm_intel_bo_disable_reuse(intel->front_buffer);
intel->front_pitch = pitch;
intel->front_tiling = tiling;
@@ -1562,7 +1562,7 @@ intel_do_pageflip(intel_screen_private *intel,
new_front->handle, &new_fb_id))
goto error_out;
- drm_intel_gem_bo_disable_resuse(new_front);
+ drm_intel_bo_disable_reuse(new_front);
intel_glamor_flush(intel);
intel_batch_submit(scrn);