OSDN Git Service

drm/tegra: Add missing kerneldoc for struct drm_dp_link
authorThierry Reding <treding@nvidia.com>
Mon, 5 Feb 2018 13:31:27 +0000 (14:31 +0100)
committerThierry Reding <treding@nvidia.com>
Mon, 28 Oct 2019 10:18:44 +0000 (11:18 +0100)
The drm_dp_link structure tracks capabilities on the DP link. Add some
kerneldoc to explain what each of its fields means.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dp.h

index 88842fd..1cf252e 100644 (file)
@@ -11,6 +11,13 @@ struct drm_dp_aux;
 
 #define DP_LINK_CAP_ENHANCED_FRAMING (1 << 0)
 
+/**
+ * struct drm_dp_link - DP link capabilities
+ * @revision: DP specification revision supported on the link
+ * @rate: maximum clock rate supported on the link
+ * @num_lanes: maximum number of lanes supported on the link
+ * @capabilities: bitmask of capabilities supported on the link
+ */
 struct drm_dp_link {
        unsigned char revision;
        unsigned int rate;