linux/drivers/gpu
David Herrmann 75ae95a75d drm: remove redundant drm_file->uid
Each DRM file-context caches the EUID of the process that opened the file.
It is used exclusively for debugging purposes in /proc/dri/ and friends.

Note, however, that we can already fetch the EUID from
priv->pid->task->creds. The pointer-chasing will not hurt us, since it is
only about debugging, anyway.

Since we already are in an rcu-read-side, we can use __task_cred() rather
than task_cred_xxx().

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20160901124837.680-2-dh.herrmann@gmail.com
2016-09-19 11:21:42 +02:00
..
drm drm: remove redundant drm_file->uid 2016-09-19 11:21:42 +02:00
host1x
ipu-v3 gpu: ipu-v3: rename CSI client device 2016-08-08 11:44:20 +02:00
vga vgaarbiter: rst-ifiy and polish kerneldoc 2016-08-16 18:49:56 +02:00
Makefile