Re: [PATCH v2 1/3] drm: add DRM_SET_NAME ioctl

2024-09-19 Thread Pierre-Eric Pelloux-Prayer
Le 16/09/2024 à 16:35, Tvrtko Ursulin a écrit : On 16/09/2024 14:32, Pierre-Eric Pelloux-Prayer wrote: Giving the opportunity to userspace to associate a free-form name with a drm_file struct is helpful for tracking and debugging. This is similar to the existing DMA_BUF_SET_NAME ioctl. Acc

Re: [PATCH v2 1/3] drm: add DRM_SET_NAME ioctl

2024-09-16 Thread Tvrtko Ursulin
On 16/09/2024 14:32, Pierre-Eric Pelloux-Prayer wrote: Giving the opportunity to userspace to associate a free-form name with a drm_file struct is helpful for tracking and debugging. This is similar to the existing DMA_BUF_SET_NAME ioctl. Access to name is protected by a mutex, and the 'clien

Re: [PATCH v2 1/3] drm: add DRM_SET_NAME ioctl

2024-09-16 Thread Christian König
Am 16.09.24 um 15:32 schrieb Pierre-Eric Pelloux-Prayer: Giving the opportunity to userspace to associate a free-form name with a drm_file struct is helpful for tracking and debugging. This is similar to the existing DMA_BUF_SET_NAME ioctl. Access to name is protected by a mutex, and the 'clien

[PATCH v2 1/3] drm: add DRM_SET_NAME ioctl

2024-09-16 Thread Pierre-Eric Pelloux-Prayer
Giving the opportunity to userspace to associate a free-form name with a drm_file struct is helpful for tracking and debugging. This is similar to the existing DMA_BUF_SET_NAME ioctl. Access to name is protected by a mutex, and the 'clients' debugfs file has been updated to print it. Userspace M