Message ID | 20221107143715.279841-1-carlos.bilbao@amd.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2093468wru; Mon, 7 Nov 2022 06:46:30 -0800 (PST) X-Google-Smtp-Source: AA0mqf7UqV1B6iVQMVwBreugg8Idwdj/GN60ZbbZMozDCvXLQ2TQbRyjq6/cHeCZS96vRHnXAu+j X-Received: by 2002:a17:906:34cb:b0:7ae:69d1:9072 with SMTP id h11-20020a17090634cb00b007ae69d19072mr4739498ejb.499.1667832390074; Mon, 07 Nov 2022 06:46:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1667832390; cv=pass; d=google.com; s=arc-20160816; b=q8aqfH7GDQ86jyx5YkkcwIcFnmF9KJCBv/5BqI7YETrPdSsUYxKFToyHNQnFnK2otp mDNdJsYpOiNOIhQwqTFwhnRLZ5f5Uiu/hEbWAmZXThdMNdB1YZpVDBlTsTWah+AD6gEj wovIxM5MnCtMvUYnOdyEot3IerDWyT34EBhd1mCxLXEQiPFpCRcdLW+As7L48Ayg6D8M WsQ62XH4og5+/dG2flw5VFURpaIEwjdtDgcXjZ3rawZj6ZrI2+he2Avd1fChjHCimzmW vyFTG6XBbZjxvsBrTbfIlXMYUA/80eQzvCYvzlsDhQX5sW+hVMHL6F2sQV8lTjHMvhGr 1tLQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=6hf53wAag0K3+P3qF01o3nAmr5ztOjZkGCAlzmjwyhA=; b=SERiCHBgw+d3GYBASpYKKldXxatpOJGCk0VQnekNX1ssHos+3JgjnkfCwvPzwZ+b25 A0PDyleY54ifoMz7OjX9377HUpF8p4hBPtrdcmy2hrpQCZmn1aWtVfzXCDCcGlLfGief 4WyGOZLWhRJdDnj6c4vr9HrO684dO44D7XSjuMUkCom0jB/dGLs/o7Xv4dNINB4yUIBw xWZy0sF+6CVv6fLFspirPd9wXRxUbqLbUw5cbajS3Yu3HNrTeoipR8V5t2E2DCfPpPFE 6/7NGKVAuXGBPIuFRzxM0N1PtZX+d3Lvy6BAiAzCBRBrLOYuJZ/+cSCV+dizRaP2n9aH fxSw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=kOa3y8UE; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id wy8-20020a170906fe0800b0078334ccc570si9017574ejb.328.2022.11.07.06.46.05; Mon, 07 Nov 2022 06:46:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=kOa3y8UE; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232105AbiKGOhV (ORCPT <rfc822;hjfbswb@gmail.com> + 99 others); Mon, 7 Nov 2022 09:37:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231520AbiKGOhU (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 7 Nov 2022 09:37:20 -0500 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2074.outbound.protection.outlook.com [40.107.223.74]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1720492 for <linux-kernel@vger.kernel.org>; Mon, 7 Nov 2022 06:37:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Pavp1dB6qhNeOGOgxLOnjukVUb4va/fjrYLu5EnBM8MIDeQXAE7VvxbMNGcoe9930pqQFaGhthjtD+fSi62E8ygYJS4ysskGmeZeWszVzO4tFW1s7H8N7EhkqlYTJuthwtRvvGFSEfB2eqzZ0kMOZkF/H6SHqWvKKCnl/lCbPItlXI44+xAZZaDxTDL0pvc7d/CzmXAsjmbtSbgdZSXorQSPv0SxzoQSbp5qx9qhfK8FDTty2DPNKGufWIxSagd6qWm4553NStE8Y6MOG1XqNX8CXOKSoQGqTnptsOPkvwGTxKpe9VGqFqoalpd69oAe+btJ6rZQvjkdKDQhoCYSWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=6hf53wAag0K3+P3qF01o3nAmr5ztOjZkGCAlzmjwyhA=; b=PSrweUfHimTRNZzkDQfURx+TLky5AUqEYdlNjQwPN3bw8dD9TxKKbHEwsexPlyVLIEf9GZzqvS8ihjQTcxhv0xvvo5bFKWPTkR+bIuexFup3i25U3SNmTT3BFFjubAsV8lruXwmDXLEdHEDJnX3eaULvQB0rCUTh81gMJKn2t2uffp3vgZjO8ufPn5qe6HsyTLyV0JfM6B0X5x9hdHrV61Bs+lH0g1Vv/zrRpC54H2eN2vdS559ONFK86NN0fuApt1EuFj+cVgIc9bGWX2W5YjB1jhRILgTWF0Z7wjMht4D0S0bmphb5rayZ0K8PoHP6oRsY04s4bAxqwXh09bfcCw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=gmail.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6hf53wAag0K3+P3qF01o3nAmr5ztOjZkGCAlzmjwyhA=; b=kOa3y8UEko4E1qnJ+ErXICxUgdDcWvuYms9wJc2MGceCv9VYL3Xh2ypyzq6WEcBlD7fo3NuEJu+youFmgylq5TFYvxbz4Q5N2U0WMQ5Mf30P6qRk8t0Q4VdbixpeUy+PbftViOP6FZNS+1tZ/mI1aLAp9SN/Zkp15XgV6kA+lQc= Received: from BN9PR03CA0226.namprd03.prod.outlook.com (2603:10b6:408:f8::21) by SN7PR12MB7297.namprd12.prod.outlook.com (2603:10b6:806:2ad::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.22; Mon, 7 Nov 2022 14:37:17 +0000 Received: from BN8NAM11FT062.eop-nam11.prod.protection.outlook.com (2603:10b6:408:f8:cafe::c3) by BN9PR03CA0226.outlook.office365.com (2603:10b6:408:f8::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.26 via Frontend Transport; Mon, 7 Nov 2022 14:37:16 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB03.amd.com; pr=C Received: from SATLEXMB03.amd.com (165.204.84.17) by BN8NAM11FT062.mail.protection.outlook.com (10.13.177.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5791.20 via Frontend Transport; Mon, 7 Nov 2022 14:37:16 +0000 Received: from SATLEXMB05.amd.com (10.181.40.146) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 7 Nov 2022 08:37:16 -0600 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB05.amd.com (10.181.40.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 7 Nov 2022 08:37:16 -0600 Received: from iron-maiden.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2375.31 via Frontend Transport; Mon, 7 Nov 2022 08:37:15 -0600 From: Carlos Bilbao <carlos.bilbao@amd.com> To: <harry.wentland@amd.com>, <sunpeng.li@amd.com>, <Rodrigo.Siqueira@amd.com> CC: <alexander.deucher@amd.com>, <christian.koenig@amd.com>, <Xinhui.Pan@amd.com>, <airlied@gmail.com>, <daniel@ffwll.ch>, <aric.cyr@amd.com>, <jun.lei@amd.com>, <amd-gfx@lists.freedesktop.org>, <dri-devel@lists.freedesktop.org>, <linux-kernel@vger.kernel.org>, <bilbao@vt.edu>, Carlos Bilbao <carlos.bilbao@amd.com> Subject: [PATCH] drm/amd/display: Amend descriptions within enum pipe_split_policy Date: Mon, 7 Nov 2022 08:37:15 -0600 Message-ID: <20221107143715.279841-1-carlos.bilbao@amd.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT062:EE_|SN7PR12MB7297:EE_ X-MS-Office365-Filtering-Correlation-Id: d5f53e9a-392a-41f1-b67b-08dac0cd9187 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LuDCzdax19SpZWmbmIcio/9ICiKOBZZcmE9//te88IXlwb1QNTpMe7FAVKbZOcNQeU1k4urtwzwAUL0zSqLQUcHevnBd0XzztFUImhbChpD/ZNSRd1Ga9gThZALeNlVXJGw+heaEFY8Neq4lZoXqg7ZZcRoElRmC7Fqm5onjyKTp0C7+p92N0PRBpu0wLRdsiyqGyQOn4GgHS6OOPsWwS+Xy8fshQvZn2kQaMFxgeAJr9h4qLti89llLZQ6icVKQN9LMUVtoqSpyRytHzNP6EfhQM4HnfjfOlM959KF6RUT4d/6NxTnIeQAAipZREHW0OvQaQb1w8TqeUUtSZU94idgjTQCa7YN7Fy50T+58/14GQQ/0PT94hG0ID2IbSoaGSVNsEmsHaGCEzAKYvTuknnCV3zoGTbsEusKGM7RVE9Jq39khlb3Kx6h/oKvutg6vGUoiMuUfZCPH+ZhlRmTpxRrrbANjIOgYHD93zV6WsJx4jMkA2Io/oCWyXyBg+XHjQt3dTHryh4N4dtDGEc8ofe2cXQ+Bdy2hwkB34Co1h5CfuSOf7nFCvBQ9ScvRabqF+j80aLB0+/8nzhBYsWASCVreV6C3/jFTsFwPv/biA8RBWBqQUg2+COfW81isosQZTkqA/3Q/bYzjtIsXjPvJ+I4OB0gzce5nonf0jF9QjduBqNhJeNVRGn7qDdVjEuW6R1aYA6QnpsU9egPV47r4bQ38L3knF/0Zo/CP2tiVifxoUpmi6emqM1ZKEbj2uBFXWsSw8UoTEq8b/me4oqwkaEfH9fK9Cg10KU+gKpMKHYs= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB03.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230022)(4636009)(136003)(346002)(396003)(376002)(39860400002)(451199015)(36840700001)(46966006)(40470700004)(44832011)(41300700001)(8676002)(4326008)(5660300002)(8936002)(86362001)(2906002)(40480700001)(70206006)(82740400003)(2616005)(1076003)(336012)(186003)(83380400001)(54906003)(426003)(356005)(47076005)(110136005)(40460700003)(70586007)(36860700001)(81166007)(316002)(26005)(478600001)(6636002)(7696005)(36756003)(82310400005)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Nov 2022 14:37:16.8296 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d5f53e9a-392a-41f1-b67b-08dac0cd9187 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT062.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB7297 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748849016085670890?= X-GMAIL-MSGID: =?utf-8?q?1748849016085670890?= |
Series |
drm/amd/display: Amend descriptions within enum pipe_split_policy
|
|
Commit Message
Carlos Bilbao
Nov. 7, 2022, 2:37 p.m. UTC
Correct descriptions of two last fields of enum pipe_split_policy, updating
comments with proper field names.
Signed-off-by: Carlos Bilbao <carlos.bilbao@amd.com>
---
drivers/gpu/drm/amd/display/dc/dc.h | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Comments
On Mon, Nov 7, 2022 at 9:37 AM Carlos Bilbao <carlos.bilbao@amd.com> wrote: > > Correct descriptions of two last fields of enum pipe_split_policy, updating > comments with proper field names. > > Signed-off-by: Carlos Bilbao <carlos.bilbao@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> > --- > drivers/gpu/drm/amd/display/dc/dc.h | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h > index bfc5474c0f4c..277631a899d8 100644 > --- a/drivers/gpu/drm/amd/display/dc/dc.h > +++ b/drivers/gpu/drm/amd/display/dc/dc.h > @@ -457,15 +457,16 @@ enum pipe_split_policy { > MPC_SPLIT_DYNAMIC = 0, > > /** > - * @MPC_SPLIT_DYNAMIC: Avoid pipe split, which means that DC will not > + * @MPC_SPLIT_AVOID: Avoid pipe split, which means that DC will not > * try any sort of split optimization. > */ > MPC_SPLIT_AVOID = 1, > > /** > - * @MPC_SPLIT_DYNAMIC: With this option, DC will only try to optimize > - * the pipe utilization when using a single display; if the user > - * connects to a second display, DC will avoid pipe split. > + * @MPC_SPLIT_AVOID_MULT_DISP: With this option, DC will only try > + * to optimize the pipe utilization when using a single display; > + * if the user connects to a second display, DC will avoid pipe > + * split. > */ > MPC_SPLIT_AVOID_MULT_DISP = 2, > }; > -- > 2.34.1 >
On 11/7/22 09:37, Carlos Bilbao wrote: > Correct descriptions of two last fields of enum pipe_split_policy, updating > comments with proper field names. > > Signed-off-by: Carlos Bilbao <carlos.bilbao@amd.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Harry > --- > drivers/gpu/drm/amd/display/dc/dc.h | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h > index bfc5474c0f4c..277631a899d8 100644 > --- a/drivers/gpu/drm/amd/display/dc/dc.h > +++ b/drivers/gpu/drm/amd/display/dc/dc.h > @@ -457,15 +457,16 @@ enum pipe_split_policy { > MPC_SPLIT_DYNAMIC = 0, > > /** > - * @MPC_SPLIT_DYNAMIC: Avoid pipe split, which means that DC will not > + * @MPC_SPLIT_AVOID: Avoid pipe split, which means that DC will not > * try any sort of split optimization. > */ > MPC_SPLIT_AVOID = 1, > > /** > - * @MPC_SPLIT_DYNAMIC: With this option, DC will only try to optimize > - * the pipe utilization when using a single display; if the user > - * connects to a second display, DC will avoid pipe split. > + * @MPC_SPLIT_AVOID_MULT_DISP: With this option, DC will only try > + * to optimize the pipe utilization when using a single display; > + * if the user connects to a second display, DC will avoid pipe > + * split. > */ > MPC_SPLIT_AVOID_MULT_DISP = 2, > };
diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h index bfc5474c0f4c..277631a899d8 100644 --- a/drivers/gpu/drm/amd/display/dc/dc.h +++ b/drivers/gpu/drm/amd/display/dc/dc.h @@ -457,15 +457,16 @@ enum pipe_split_policy { MPC_SPLIT_DYNAMIC = 0, /** - * @MPC_SPLIT_DYNAMIC: Avoid pipe split, which means that DC will not + * @MPC_SPLIT_AVOID: Avoid pipe split, which means that DC will not * try any sort of split optimization. */ MPC_SPLIT_AVOID = 1, /** - * @MPC_SPLIT_DYNAMIC: With this option, DC will only try to optimize - * the pipe utilization when using a single display; if the user - * connects to a second display, DC will avoid pipe split. + * @MPC_SPLIT_AVOID_MULT_DISP: With this option, DC will only try + * to optimize the pipe utilization when using a single display; + * if the user connects to a second display, DC will avoid pipe + * split. */ MPC_SPLIT_AVOID_MULT_DISP = 2, };