From 071c92de1d24f36a217fb8264df27998c8c73df6 Mon Sep 17 00:00:00 2001 From: Mika Kuoppala Date: Thu, 12 Feb 2015 10:26:02 +0200 Subject: [PATCH] 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-format-patch failed