]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm: Print the pid when debug logging an ioctl error.
authorEric Anholt <eric@anholt.net>
Tue, 30 Jan 2018 21:56:43 +0000 (13:56 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 10 Feb 2018 22:23:10 +0000 (22:23 +0000)
commit9c950e468cb5913d223282a05e6cd22fecce5ac8
treeffde5f5d58447629f1e4b4a7124c83f9a3926cef
parent9569002a39cdc17b11f415f16215ec2428dad902
drm: Print the pid when debug logging an ioctl error.

When we debug print what ioctl we're calling into, we include the pid.
If you have multiple processes rendering simulataneously, the error
return also needs the pid so you can see which of the ioctl calls was
the one to fail.

Signed-off-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20180130215643.11016-1-eric@anholt.net
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_ioctl.c