summaryrefslogtreecommitdiff
path: root/src/uxa
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-07-30 23:40:55 -0700
committerKeith Packard <keithp@keithp.com>2014-09-12 13:50:36 -0700
commit4e77993e9965ca65e66bd42b688f7f2e64dd3a7d (patch)
tree7d9172fdb5f930f9148c02000a8f0dc52c9d5ac5 /src/uxa
parentc2f214fb549499fe2a1ab245e0438270b1a935ed (diff)
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 <keithp@keithp.com> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/uxa')
-rw-r--r--src/uxa/intel_display.c3
1 files changed, 0 insertions, 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;