Re: [Intel-gfx] [PATCH 2/2] drm/i915: Reclaim GGTT space for failed ppgtt

2012-12-28 Thread Chris Wilson
On Thu, 27 Dec 2012 18:27:22 -0800, Ben Widawsky wrote: > When the ppgtt init fails, we may as well reuse the space that were were > reserving for the ppgtt PDEs. > > This also fixes an extraneous mutex_unlock. Hear, hear. Could I ask for the int ret; to be killed off entirely? [both] Reviewed

[Intel-gfx] [PATCH 2/2] drm/i915: Reclaim GGTT space for failed ppgtt

2012-12-27 Thread Ben Widawsky
When the ppgtt init fails, we may as well reuse the space that were were reserving for the ppgtt PDEs. This also fixes an extraneous mutex_unlock. Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_gem_gtt.c | 33 - 1 file changed, 16 insertions(+), 17 del