From: John Harrison Date: Fri, 29 May 2015 16:43:38 +0000 (+0100) Subject: drm/i915: Don't tag kernel batches as user batches X-Git-Tag: omap-for-v4.3/fixes-rc1~89^2~36^2~217 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3fbe05a611811ad8413130f63aaa79428b00377;p=pandora-kernel.git drm/i915: Don't tag kernel batches as user batches The render state initialisation code does an explicit i915_add_request() call to commit the init commands. It was passing in the initialisation batch buffer to add_request() as the batch object parameter. However, the batch object entry in the request structure (which is all that parameter is used for) is meant for keeping track of user generated batch buffers for blame tagging during GPU hangs. This patch clears the batch object parameter so that kernel generated batch buffers are not tagged as being user generated. For: VIZ-5115 Signed-off-by: John Harrison Reviewed-by: Tomas Elf Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed