Re: [Intel-gfx] [RFC v3 04/12] drm: Make ioctls available for in-kernel clients part 2

2018-03-06 Thread Daniel Vetter
On Thu, Feb 22, 2018 at 09:06:45PM +0100, Noralf Trønnes wrote: > This is part 2 of making ioctls useable for in-kernel clients. > Make an ioctl wrapper function that calls a function that can be used by > in-kernel clients. > > It adjusts the signature of the following functions: > - drm_mode_get

[Intel-gfx] [RFC v3 04/12] drm: Make ioctls available for in-kernel clients part 2

2018-02-22 Thread Noralf Trønnes
This is part 2 of making ioctls useable for in-kernel clients. Make an ioctl wrapper function that calls a function that can be used by in-kernel clients. It adjusts the signature of the following functions: - drm_mode_getcrtc() - drm_mode_create_dumb_ioctl() - drm_mode_destroy_dumb_ioctl() - drm_