Re: [PATCH v3 04/12] drm: move drm_can_sleep() to drm_util.h

2019-01-09 Thread Daniel Vetter
On Tue, Jan 08, 2019 at 08:29:31PM +0100, Sam Ravnborg wrote: > Move drm_can_sleep() out of drmP.h to allow users > to get rid of the drmP.h include. > > There was no header file that was a good match for this helper function. > So add this to drm_util with the relevant includes. > > Update comme

[PATCH v3 04/12] drm: move drm_can_sleep() to drm_util.h

2019-01-08 Thread Sam Ravnborg
Move drm_can_sleep() out of drmP.h to allow users to get rid of the drmP.h include. There was no header file that was a good match for this helper function. So add this to drm_util with the relevant includes. Update comments to use kernel-doc style. Add FIXME to drm_can_sleep and add note that th