From patchwork Mon Sep 2 11:31:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 11126425 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D0A9F1398 for ; Mon, 2 Sep 2019 11:31:33 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B88AB2173E for ; Mon, 2 Sep 2019 11:31:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B88AB2173E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6E13989A0F; Mon, 2 Sep 2019 11:31:31 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id 714D189A0F for ; Mon, 2 Sep 2019 11:31:29 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id g7so13683810wrx.2 for ; Mon, 02 Sep 2019 04:31:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=FYiUY5p+TWatTxX9qBGkn9VrpmRhMnZJh/hFNFOnOtM=; b=kRZ3iZ6hjY0ptISTsBdOhM4Qbm7RdpwaBe/BnEzufX3q5rIbMz5R+oVBnMYqvQ55on nPCSgCLIzBkN6BuqpKxTeaKxFkcdENbhmPNXHBCfCqJL8eLRt0g2xqqPJoV8nSVN2/yT Qagx7PtC4HcoOYiEzg409yLOmjGHbuYttz1izx+bBKChJoRbdX/6AQYr7aqiIHEUqGUU XHhDAeDLbSUwI3PhWn/Sq44QUPqhyA4zN+XvVeFD7HbJA+VXnCB5HLzWHcjZl7seiLkf UirO57crDKq3ECLsqP0u2Z02FAsvjxWPTc4QqRuFIW29igHXay7opRnZSTf9gG2rEJw4 f6Fw== X-Gm-Message-State: APjAAAXG/M0XLQ1h53zL3lL4ZfEp63e0lR4FiR//5gVVZ9kh48T5WiDa 1DPqrcz+J2mhty9KbeZcNdFkcC1I X-Google-Smtp-Source: APXvYqylhdz2i1zMmBSidgeCSzkA7ZytiSHhEFLlAoZipJm3BEGmIIBVxnFZs34O6SPNA4iS6AGN1w== X-Received: by 2002:adf:dc81:: with SMTP id r1mr35521231wrj.52.1567423887674; Mon, 02 Sep 2019 04:31:27 -0700 (PDT) Received: from localhost (pD9E51890.dip0.t-ipconnect.de. [217.229.24.144]) by smtp.gmail.com with ESMTPSA id f18sm15421768wrx.85.2019.09.02.04.31.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Sep 2019 04:31:26 -0700 (PDT) From: Thierry Reding To: dri-devel@lists.freedesktop.org Subject: [PATCH v2 02/21] drm/dp: Add missing kerneldoc for struct drm_dp_link Date: Mon, 2 Sep 2019 13:31:02 +0200 Message-Id: <20190902113121.31323-3-thierry.reding@gmail.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190902113121.31323-1-thierry.reding@gmail.com> References: <20190902113121.31323-1-thierry.reding@gmail.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FYiUY5p+TWatTxX9qBGkn9VrpmRhMnZJh/hFNFOnOtM=; b=ZTNkAg8tts7B5hzn7TGJdFVyc3qlaNfy+WIH+Q0TPiYl9XqZHrn4NsAkPFXWKU7jnF P34091jZBibKIrHmZsNeq2oox461Q4hTgn6ZaUJoEj7M/OubNiJlQc8IT5yxsUdHb9+F FzeMq+60MniEQVKYKyhNn4blaFbe96Q76JipsBGtElf9FDl82MNkN6LwBaZ0CryFuc54 mURgEgaca2L3IIPG6lKL0anp7VZ6cwVPwoQtnNI1dp9ZJlxNhcxKRKggYGPgjG+ucVXu IS6/TBnTC5Df2Sh3XguJvej34dI0/Q9P0t8cfVLczufyMj8iKkBhWRuwQIzL3/8pNKeK QZ1w== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Thierry Reding 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 --- include/drm/drm_dp_helper.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h index 114261158b73..935f331e6e72 100644 --- a/include/drm/drm_dp_helper.h +++ b/include/drm/drm_dp_helper.h @@ -1358,6 +1358,13 @@ int drm_dp_dpcd_read_link_status(struct drm_dp_aux *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;