aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorMika Kuoppala <[email protected]>2015-02-12 10:26:02 +0200
committerDaniel Vetter <[email protected]>2015-02-13 23:28:37 +0100
commit071c92de1d24f36a217fb8264df27998c8c73df6 (patch)
treed06b6dbf85a26befd22b39508a18f695be58c791 /lib/test-string_helpers.c
parent65ca7514e21adbee25b8175fc909759c735d00ff (diff)
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 <[email protected]> Cc: Chris Wilson <[email protected]> Signed-off-by: Mika Kuoppala <[email protected]> [danvet: drop NULL check before put_pid as suggested by Chris.] Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions