From 4e77993e9965ca65e66bd42b688f7f2e64dd3a7d Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Wed, 30 Jul 2014 23:40:55 -0700 Subject: [PATCH] Remove redundant calls to drm_intel_bo_disable_reuse intel_allocate_framebuffer has already made the call in each of these code paths. Signed-off-by: Keith Packard Reviewed-by: Eric Anholt --- src/uxa/intel_display.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/uxa/intel_display.c b/src/uxa/intel_display.c index 8c43ae92..2f664bc0 100644 --- a/src/uxa/intel_display.c +++ b/src/uxa/intel_display.c @@ -547,8 +547,6 @@ intel_crtc_shadow_allocate(xf86CrtcPtr crtc, int width, int height) return NULL; } - drm_intel_bo_disable_reuse(intel_crtc->rotate_bo); - intel_crtc->rotate_pitch = rotate_pitch; return intel_crtc->rotate_bo; } @@ -1590,7 +1588,6 @@ intel_xf86crtc_resize(ScrnInfoPtr scrn, int width, int height) if (ret) goto fail; - drm_intel_bo_disable_reuse(intel->front_buffer); intel->front_pitch = pitch; intel->front_tiling = tiling;