Commit ad6f5c34 authored by Ville Syrjälä's avatar Ville Syrjälä Committed by Dave Airlie

drm: Improve drm_crtc documentation

Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent e6dfcc53
...@@ -616,7 +616,7 @@ EXPORT_SYMBOL(drm_framebuffer_remove); ...@@ -616,7 +616,7 @@ EXPORT_SYMBOL(drm_framebuffer_remove);
* @crtc: CRTC object to init * @crtc: CRTC object to init
* @funcs: callbacks for the new CRTC * @funcs: callbacks for the new CRTC
* *
* Inits a new object created as base part of an driver crtc object. * Inits a new object created as base part of a driver crtc object.
* *
* RETURNS: * RETURNS:
* Zero on success, error code on failure. * Zero on success, error code on failure.
...@@ -651,11 +651,12 @@ int drm_crtc_init(struct drm_device *dev, struct drm_crtc *crtc, ...@@ -651,11 +651,12 @@ int drm_crtc_init(struct drm_device *dev, struct drm_crtc *crtc,
EXPORT_SYMBOL(drm_crtc_init); EXPORT_SYMBOL(drm_crtc_init);
/** /**
* drm_crtc_cleanup - Cleans up the core crtc usage. * drm_crtc_cleanup - Clean up the core crtc usage
* @crtc: CRTC to cleanup * @crtc: CRTC to cleanup
* *
* Cleanup @crtc. Removes from drm modesetting space * This function cleans up @crtc and removes it from the DRM mode setting
* does NOT free object, caller does that. * core. Note that the function does *not* free the crtc structure itself,
* this is the responsibility of the caller.
*/ */
void drm_crtc_cleanup(struct drm_crtc *crtc) void drm_crtc_cleanup(struct drm_crtc *crtc)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment