diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-06-05 14:39:55 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-06-11 00:40:37 +0200 |
commit | ad6f5c343364e52a49b6a0a9153bda7f0e101416 (patch) | |
tree | 24f3751a84bc2e6aba7c26d1b1df4e6de914f9b9 /drivers/gpu/drm/drm_crtc.c | |
parent | Merge tag 'drm-intel-next-2013-06-01' of git://people.freedesktop.org/~danvet... (diff) | |
download | linux-ad6f5c343364e52a49b6a0a9153bda7f0e101416.tar.xz linux-ad6f5c343364e52a49b6a0a9153bda7f0e101416.zip |
drm: Improve drm_crtc documentation
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_crtc.c')
-rw-r--r-- | drivers/gpu/drm/drm_crtc.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index 3385b5cb084f..baee5752ca6b 100644 --- a/drivers/gpu/drm/drm_crtc.c +++ b/drivers/gpu/drm/drm_crtc.c @@ -616,7 +616,7 @@ EXPORT_SYMBOL(drm_framebuffer_remove); * @crtc: CRTC object to init * @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: * Zero on success, error code on failure. @@ -651,11 +651,12 @@ int drm_crtc_init(struct drm_device *dev, struct drm_crtc *crtc, 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 * - * Cleanup @crtc. Removes from drm modesetting space - * does NOT free object, caller does that. + * This function cleans up @crtc and removes it from the DRM mode setting + * 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) { |