[PATCH 03/18] Remove redundant calls to drm_intel_bo_disable_reuse

Keith Packard keithp at keithp.com
Sat Aug 16 23:13:06 PDT 2014


intel_allocate_framebuffer has already made the call in each of these
code paths.

Signed-off-by: Keith Packard <keithp at keithp.com>
---
 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 0b83140..e1b09ab 100644
--- a/src/uxa/intel_display.c
+++ b/src/uxa/intel_display.c
@@ -545,8 +545,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;
 }
@@ -1454,7 +1452,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;
 
-- 
2.0.1



More information about the xorg-devel mailing list