drm: use DRM_IOCTL_SET_CLIENT_NAME
The first commit cleans up drm-uapi/drm.h which includes stuff that aren't upstream yet.
The second commit uses DRM_IOCTL_SET_CLIENT_NAME
to attach the debug_name
to the drm_file
.
(I'll add a link to the dri-devel thread soon)
@robclark: this is similar to MSM_PARAM_COMM
/ MSM_PARAM_CMDLINE
but I'm not sure if you'd be interested to switch msm to this ioctl.
Edited by Pierre-Eric Pelloux-Prayer