diff options
author | Lothar Waßmann <LW@KARO-electronics.de> | 2016-08-16 09:34:37 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-08-16 11:32:08 -0400 |
commit | cb34d7f2dcf0d3a326ba76fe3a8e72011215dffc (patch) | |
tree | 5786cede5964916d2ab721c3d237ed6330ccdf19 /drivers/gpu/drm/drm_modes.c | |
parent | 750fb8c439bcaa2752d717503119f66032a22b76 (diff) |
drm: update kerneldoc for changes introduced by commits "16fadc2568e9" and "9671e228fb78"
Describe the new parameter 'bus_flags' to of_get_drm_display_mode() in
the kerneldoc comments and add kerneldoc comments to the new function
drm_bus_flags_from_videomode().
Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1471354477-25877-1-git-send-email-LW@KARO-electronics.de
Diffstat (limited to 'drivers/gpu/drm/drm_modes.c')
-rw-r--r-- | drivers/gpu/drm/drm_modes.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c index 15704873fd61..53f07ac7c174 100644 --- a/drivers/gpu/drm/drm_modes.c +++ b/drivers/gpu/drm/drm_modes.c | |||
@@ -657,6 +657,15 @@ void drm_display_mode_to_videomode(const struct drm_display_mode *dmode, | |||
657 | } | 657 | } |
658 | EXPORT_SYMBOL_GPL(drm_display_mode_to_videomode); | 658 | EXPORT_SYMBOL_GPL(drm_display_mode_to_videomode); |
659 | 659 | ||
660 | /** | ||
661 | * drm_bus_flags_from_videomode - extract information about pixelclk and | ||
662 | * DE polarity from videomode and store it in a separate variable | ||
663 | * @vm: videomode structure to use | ||
664 | * @bus_flags: information about pixelclk and DE polarity will be stored here | ||
665 | * | ||
666 | * Sets DRM_BUS_FLAG_DE_(LOW|HIGH) and DRM_BUS_FLAG_PIXDATA_(POS|NEG)EDGE | ||
667 | * in @bus_flags according to DISPLAY_FLAGS found in @vm | ||
668 | */ | ||
660 | void drm_bus_flags_from_videomode(const struct videomode *vm, u32 *bus_flags) | 669 | void drm_bus_flags_from_videomode(const struct videomode *vm, u32 *bus_flags) |
661 | { | 670 | { |
662 | *bus_flags = 0; | 671 | *bus_flags = 0; |
@@ -677,6 +686,7 @@ EXPORT_SYMBOL_GPL(drm_bus_flags_from_videomode); | |||
677 | * of_get_drm_display_mode - get a drm_display_mode from devicetree | 686 | * of_get_drm_display_mode - get a drm_display_mode from devicetree |
678 | * @np: device_node with the timing specification | 687 | * @np: device_node with the timing specification |
679 | * @dmode: will be set to the return value | 688 | * @dmode: will be set to the return value |
689 | * @bus_flags: information about pixelclk and DE polarity | ||
680 | * @index: index into the list of display timings in devicetree | 690 | * @index: index into the list of display timings in devicetree |
681 | * | 691 | * |
682 | * This function is expensive and should only be used, if only one mode is to be | 692 | * This function is expensive and should only be used, if only one mode is to be |