On Tue, Nov 15, 2016 at 10:32:14AM +0000, Chris Wilson wrote: > On Mon, Nov 14, 2016 at 12:58:23PM +0100, Daniel Vetter wrote: > > And shuffle the kernel-doc structure a bit since drm_crtc.[hc] now > > only contains CRTC-related functions and structures. > > > > Signed-off-by: Daniel Vetter <daniel.vetter@xxxxxxxxx> > > diff --git a/drivers/gpu/drm/drm_crtc_internal.h b/drivers/gpu/drm/drm_crtc_internal.h > > index 3d23a473ec35..dad212140d56 100644 > > --- a/drivers/gpu/drm/drm_crtc_internal.h > > +++ b/drivers/gpu/drm/drm_crtc_internal.h > > @@ -40,18 +40,25 @@ int drm_crtc_check_viewport(const struct drm_crtc *crtc, > > int x, int y, > > const struct drm_display_mode *mode, > > const struct drm_framebuffer *fb); > > - > > -void drm_fb_release(struct drm_file *file_priv); > > +int drm_crtc_register_all(struct drm_device *dev); > > +void drm_crtc_unregister_all(struct drm_device *dev); > > > > /* IOCTLs */ > > -int drm_mode_getresources(struct drm_device *dev, > > - void *data, struct drm_file *file_priv); > > int drm_mode_getcrtc(struct drm_device *dev, > > void *data, struct drm_file *file_priv); > > int drm_mode_setcrtc(struct drm_device *dev, > > void *data, struct drm_file *file_priv); > > > > + > > +/* drm_mode_config.c */ > > +/* IOCTLs */ > > +int drm_mode_getresources(struct drm_device *dev, > > + void *data, struct drm_file *file_priv); > > + > > + > > /* drm_dumb_buffers.c */ > > +int drm_modeset_register_all(struct drm_device *dev); > > +void drm_modeset_unregister_all(struct drm_device *dev); > > > > I was worried for a moment. Oops, fixed up while applying. Also noticed that I've forgotten to move drm_mode_config_cleanup (besides moving it in headers). Chris was still happy with the revised patch after checking some silliness on irc. -Daniel > > Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > -Chris > > -- > Chris Wilson, Intel Open Source Technology Centre -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel