diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2017-01-07 16:52:11 +0800 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-01-09 11:24:16 +0100 |
commit | 931c670d209b64a6033c1a2857ff309eee88f9c8 (patch) | |
tree | b2618de534e01cc501f10453e75c16d4df7aa2d5 /drivers/gpu/drm/drm_plane.c | |
parent | a09759e82f2d60823027e9d3391bbea40f919604 (diff) | |
download | linux-931c670d209b64a6033c1a2857ff309eee88f9c8.tar.gz linux-931c670d209b64a6033c1a2857ff309eee88f9c8.tar.bz2 linux-931c670d209b64a6033c1a2857ff309eee88f9c8.zip |
drm: add more document for drm_crtc_from_index()
Add a bit more document for function drm_crtc_from_index() to cross
link it with drm_crtc_from_index(), and explain that the function is
useful in vblank code.
While at it, add cross link comment for drm_plane_from_index() as well.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1483779131-19935-1-git-send-email-shawnguo@kernel.org
Diffstat (limited to 'drivers/gpu/drm/drm_plane.c')
-rw-r--r-- | drivers/gpu/drm/drm_plane.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_plane.c b/drivers/gpu/drm/drm_plane.c index 7b7275f0c2df..eed66be18329 100644 --- a/drivers/gpu/drm/drm_plane.c +++ b/drivers/gpu/drm/drm_plane.c @@ -254,7 +254,7 @@ EXPORT_SYMBOL(drm_plane_cleanup); * @idx: index of registered plane to find for * * Given a plane index, return the registered plane from DRM device's - * list of planes with matching index. + * list of planes with matching index. This is the inverse of drm_plane_index(). */ struct drm_plane * drm_plane_from_index(struct drm_device *dev, int idx) |