drm: Include task->name and master status in debugfs clients info
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 2 Sep 2014 07:03:22 +0000 (08:03 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 15 Sep 2014 06:56:29 +0000 (08:56 +0200)
commit50d47cb318ed3bfdea4032111772be6f7a5cc7a2
treeaa203018e02fccb96cf78b6b8241a78880c82f65
parent2a5706a36d1f7ecd563fdff0b363c9b909e727e2
drm: Include task->name and master status in debugfs clients info

Showing who is the current master is useful for trying to decypher
errors when trying to acquire master (e.g. a race with X taking over
from plymouth). By including the process name as well as the pid
simplifies the task of grabbing enough information remotely at the point
of error.

v2: Add the command column header and flesh out a couple of comments.
(David Herrmann)

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_info.c