From: John Harrison Date: Fri, 29 May 2015 16:43:39 +0000 (+0100) Subject: drm/i915: Add explicit request management to i915_gem_init_hw() X-Git-Tag: omap-for-v4.3/fixes-rc1~89^2~36^2~216 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc4be6071a24f0d2da6af8ce16c19f276ac4d7a2;p=pandora-kernel.git drm/i915: Add explicit request management to i915_gem_init_hw() Now that a single per ring loop is being done for all the different intialisation steps in i915_gem_init_hw(), it is possible to add proper request management as well. The last remaining issue is that the context enable call eventually ends up within *_render_state_init() and this does its own private _i915_add_request() call. This patch adds explicit request creation and submission to the top level loop and removes the add_request() from deep within the sub-functions. v2: Updated for removal of batch_obj from add_request call in previous patch. For: VIZ-5115 Signed-off-by: John Harrison Reviewed-by: Tomas Elf Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed