Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp561155rwo; Tue, 1 Aug 2023 23:52:26 -0700 (PDT) X-Google-Smtp-Source: APBJJlH5IWH3aDQm88E04QLMTHMlLiDFbKZ7vxdAS7gGyuIILeOpEbsAqeQM0EAWhMuVzZBupebg X-Received: by 2002:a05:6a00:1146:b0:680:98c:c595 with SMTP id b6-20020a056a00114600b00680098cc595mr17103373pfm.13.1690959145794; Tue, 01 Aug 2023 23:52:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690959145; cv=none; d=google.com; s=arc-20160816; b=NHeuGO5bdPpsBBB3vcY9TCP46LYPSWSPDlChINBePCrePkS0Uukeb0tBcdpUMWvHbt 2Wt2YAqdZZcSrvOjW88xzVSNw4JLzCehOPCT5v81GV6+h/J86sK+CEqCduWS3bkf9nak 2ZlWL464Z0/lXg8WWz4eazkidGmGAGslJt8cCMaPKugxQkHZSa3AtKlDzLLngpzn81M/ LZj2riuOgMrcPNUNCMOxbX7hqCbYK62XKQwtDyuIkHYowT5fs1GBN+xzUIl5wNd5IRGW 40qQgyxjzX48HyFTVBUbzFvyqWhv00J2MJFD4Y5/rJDM+BsbN9tN/lTRkx03L+r5no/T DkeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=YC9U8Rew8ymxCKRXD/KjfznbjKqpoUliSEvZP5T5uSw=; fh=M7zDVNG5wYj+Ni7TE5shUh1U8LRNWB+keJIKRth6hag=; b=Kmllj22NuMJRj0WUDah+ESOTa8QuduLe0lP8JJnDxnRe+JOf9pdESewKC/gWX3PpRl pBgJVbSen/jIAbb3yb/hMYpmqlcJQMP3lciycVzHOVKoJ12MFCAnTQyBKcYOFfntp00f 5JL3qqvVtPDfTF379lqfqTlnzBzXSlGjgbrHGypJI+1Jd1JQEAGyzOUGhomXDGN8PkYg OvT7OmhQ3zHBcSEDavXg4TXc7jbEbNhjlFubARpzv37hCjQjyt31bUZn3DJftuQOib4j jmn9e/Ce+HbnHYYvMf2pWQayOJTGsHSB+QQtetu9v1QiQHBTdRgnU5t5gaQdtT6ZtjKL GmkQ== ARC-Authentication-Results: i=1; mx.google.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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c5-20020a6566c5000000b005645bbc8427si3580349pgw.452.2023.08.01.23.52.13; Tue, 01 Aug 2023 23:52:25 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232257AbjHBG0M (ORCPT + 99 others); Wed, 2 Aug 2023 02:26:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229545AbjHBG0K (ORCPT ); Wed, 2 Aug 2023 02:26:10 -0400 Received: from out28-197.mail.aliyun.com (out28-197.mail.aliyun.com [115.124.28.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75D4F119 for ; Tue, 1 Aug 2023 23:26:08 -0700 (PDT) X-Alimail-AntiSpam: AC=CONTINUE;BC=0.6958764|0.7372184;CH=green;DM=|SPAM|false|;DS=CONTINUE|ham_alarm|0.067393-0.00265674-0.92995;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047211;MF=sunran001@208suo.com;NM=1;PH=DS;RN=5;RT=5;SR=0;TI=SMTPD_---.U6XebAJ_1690957561; Received: from localhost.localdomain(mailfrom:sunran001@208suo.com fp:SMTPD_---.U6XebAJ_1690957561) by smtp.aliyun-inc.com; Wed, 02 Aug 2023 14:26:02 +0800 From: Ran Sun To: alexander.deucher@amd.com Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Ran Sun Subject: [PATCH] drm/amd/display: Clean up errors in dce_clk_mgr.c Date: Wed, 2 Aug 2023 06:25:59 +0000 Message-Id: <20230802062559.11421-1-sunran001@208suo.com> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY 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: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following errors reported by checkpatch: ERROR: spaces required around that '?' (ctx:VxE) Signed-off-by: Ran Sun --- drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c b/drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c index 07359eb89efc..e7acd6eec1fd 100644 --- a/drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c @@ -640,7 +640,7 @@ static void dce11_pplib_apply_display_requirements( * on power saving. * */ - pp_display_cfg->min_dcfclock_khz = (context->stream_count > 4)? + pp_display_cfg->min_dcfclock_khz = (context->stream_count > 4) ? pp_display_cfg->min_engine_clock_khz : 0; pp_display_cfg->min_engine_clock_deep_sleep_khz -- 2.17.1