Received: by 10.223.185.116 with SMTP id b49csp3680366wrg; Mon, 26 Feb 2018 04:19:03 -0800 (PST) X-Google-Smtp-Source: AH8x2253/7ahsCA6e76X8sxsRCEyQHX85QNLRcP9p/063E9oH+UmSBC1BADXBlxZ2QdJtyl+8tT7 X-Received: by 10.98.251.5 with SMTP id x5mr10524782pfm.18.1519647543240; Mon, 26 Feb 2018 04:19:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519647543; cv=none; d=google.com; s=arc-20160816; b=NB4acXFt2uXUw1mW2GUv91Gp+8XuGBXGktZkZt7OfCdXcqhc0PiJkf0WEfi6UAl2ze Kn8cZqbbXAOL9WfDXsQdEQEGe7C0PXTsF9X3K9sl61NvibMckGRLpIllKCLz/xFFJRcl 0dKPHf3nlfqPzLPiK5eXdeF+vp6BY53NqpDgh25YNTMAzB2Notj00e+iJnZB4i9WlLg7 /tGywtQLk8tG0NHpmGNQwBAHCG0K40ViVN/WZWsy6X+EK5fZLPZiB6ScXAnWRkmLtlP8 RVswf4fLrlRgcV5OTeKHpIvPqZHWF758Jzw/KadZvP79V91QiqmyTyl5smGoF4GvIsiH g+uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=VAo0P59P5NnAAwy0Pa6BYYUb9oEUUwk5upclOqUhpaU=; b=08i9oxSaFCiF5zMrDhwbMqL2sePrwp+GoO5HHf6shyzUEVnEHLficLbJGNLeKza5Tq pm8Vx5D7FgtDsJjtM4gOpXYCQRDZ/5Js6i0F/P/F6JerOF58TRj9oujtLHjo4ElyQXGY JfqFIjWQQgRqID01u9ONDGEnfWIbLhncC1YQLO0n3ZsLumi+458Dy27APV9RRouKo+wK v94Tchyx15a0oxLseKQpGUhPjMwEZUJLaS9XM9/cboe91hSBZ7UmhRzsLVmmC+CAN3Nq WkQjaaECFuQSnn8EB+YRX80PQcT2zwh7Ak6enDXS0QpgVkd1lvacZ9yg2ILf1txZeK6C dI4A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 97-v6si6643153plb.789.2018.02.26.04.18.48; Mon, 26 Feb 2018 04:19:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752894AbeBZMRy (ORCPT + 99 others); Mon, 26 Feb 2018 07:17:54 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:32558 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752451AbeBZMRu (ORCPT ); Mon, 26 Feb 2018 07:17:50 -0500 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w1QC9WtV014673; Mon, 26 Feb 2018 13:16:34 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2gbwb0v51e-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 26 Feb 2018 13:16:34 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id C3C543A; Mon, 26 Feb 2018 12:16:30 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas23.st.com [10.75.90.46]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 7CEAB2B7C; Mon, 26 Feb 2018 12:16:30 +0000 (GMT) Received: from SAFEX1HUBCAS22.st.com (10.75.90.93) by SAFEX1HUBCAS23.st.com (10.75.90.46) with Microsoft SMTP Server (TLS) id 14.3.361.1; Mon, 26 Feb 2018 13:16:30 +0100 Received: from localhost (10.201.23.32) by Webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.352.0; Mon, 26 Feb 2018 13:16:29 +0100 From: Philippe Cornu To: Laurent Pinchart , Daniel Vetter , Gustavo Padovan , "Maarten Lankhorst" , Sean Paul , David Airlie , , CC: Benjamin Gaignard , Yannick Fertre , Philippe Cornu , "Vincent Abriou" Subject: [PATCH] drm: clarify adjusted_mode for a bridge connected to a crtc Date: Mon, 26 Feb 2018 13:16:04 +0100 Message-ID: <20180226121605.12050-1-philippe.cornu@st.com> X-Mailer: git-send-email 2.15.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.201.23.32] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-26_04:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch clarifies the adjusted_mode documentation for a bridge directly connected to a crtc. Signed-off-by: Philippe Cornu --- This patch is linked to the discussion https://lkml.org/lkml/2018/1/25/367 include/drm/drm_bridge.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/drm/drm_bridge.h b/include/drm/drm_bridge.h index 3270fec46979..b5f3c070467c 100644 --- a/include/drm/drm_bridge.h +++ b/include/drm/drm_bridge.h @@ -177,7 +177,8 @@ struct drm_bridge_funcs { * pipeline has been called already. If the bridge is the first element * then this would be &drm_encoder_helper_funcs.mode_set. The display * pipe (i.e. clocks and timing signals) is off when this function is - * called. + * called. If the bridge is connected to the crtc, the adjusted_mode + * parameter is the one defined in &drm_crtc_state.adjusted_mode. */ void (*mode_set)(struct drm_bridge *bridge, struct drm_display_mode *mode, -- 2.15.1