[Intel-gfx] [PATCH] drm/i915: Optimize the i915_gem_gtt_finish_object function

Chris Wilson chris at chris-wilson.co.uk
Fri Jul 11 19:36:35 CEST 2014


On Fri, Jul 11, 2014 at 05:29:48PM +0000, Reese, Armin C wrote:
> Originally, the function always executes do_idling() followed by undo_idling() regardless of whether obj->has_dma_mapping is TRUE or not.  This change idles the GPU only if needed.
> 
> However, if the intention of the function is to ALWAYS idle the GPU, then my change is a mistake.

Ah yes. It is unclear whether the workaround also needs to be applied
for stolen objects, but it is best to presume that it is.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list