[PATCH 21/28] drm: Kerneldoc for drm_mode_config_funcs

2015-12-07 Thread Daniel Vetter
On Mon, Dec 07, 2015 at 02:14:48PM +0100, Thierry Reding wrote: > On Fri, Dec 04, 2015 at 09:46:02AM +0100, Daniel Vetter wrote: > > +* This list is exhaustive. Specifically this hook is not allowed to > > +* return -EINVAL (any invalid requests should be caught in > > +* @atomic_check)

[PATCH 21/28] drm: Kerneldoc for drm_mode_config_funcs

2015-12-07 Thread Thierry Reding
On Fri, Dec 04, 2015 at 09:46:02AM +0100, Daniel Vetter wrote: [...] > diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h [...] > struct drm_mode_config_funcs { > + /** > + * @fb_create: > + * > + * Create a new framebuffer object. The core does basic checks on the > +

[PATCH 21/28] drm: Kerneldoc for drm_mode_config_funcs

2015-12-04 Thread Daniel Vetter
The meat here is definitely the detailed specs for what atomic_check and atomic_commit are supposed to do. And another candidate for a core vfunc that should be in a helper really (output_poll_changed this time around). v2: Feedback from Eric on irc: - spelling fixes. - spec what async should do