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>
This commit is contained in:
Keith Packard 2014-07-30 23:40:55 -07:00
parent c2f214fb54
commit 4e77993e99
1 changed files with 0 additions and 3 deletions

View File

@ -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;