From: Mika Kuoppala Date: Thu, 12 Feb 2015 08:26:02 +0000 (+0200) Subject: drm/i915: Add process identifier to requests X-Git-Tag: omap-for-v4.1/fixes-rc1~82^2~35^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=071c92de1d24f36a217fb8264df27998c8c73df6;p=pandora-kernel.git drm/i915: Add process identifier to requests We use the pid of the process which opened our device when we track which was the culprit of the gpu hang. But as that file descriptor might get inherited, we might blame the wrong process when we record the error state. Track process identifiers in requests to always find the correct offender. v2: Track only user processes (Chris) Cc: Kenneth Graunke Cc: Chris Wilson Signed-off-by: Mika Kuoppala [danvet: drop NULL check before put_pid as suggested by Chris.] Reviewed-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed