From patchwork Thu Jul 27 01:03:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 126579 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a985:0:b0:3e4:2afc:c1 with SMTP id t5csp770457vqo; Wed, 26 Jul 2023 18:17:54 -0700 (PDT) X-Google-Smtp-Source: APBJJlFtcPbFNjN8vzHMRrhcTf28jzyv9Djp5NjMnzKvLrzfvq4+7YBcl1tplxjKare3IzKho3sp X-Received: by 2002:a05:6830:10e:b0:6b9:ba85:a5fa with SMTP id i14-20020a056830010e00b006b9ba85a5famr4069084otp.5.1690420673981; Wed, 26 Jul 2023 18:17:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690420673; cv=none; d=google.com; s=arc-20160816; b=CSSsX0IydSSD6GEFV10sf4A6BYy1VhoJYBp6axqfXfIUXSW/fZ+aGPxekoE++Bvvj1 dKMZEYaKDBUSlcmMF/XbTlvv8+jhUH9u90lwTdZkdF2DU/6uLW4CsT011ckYL+15zt0p WfX8AUhIBGSB8KddWPNUDpvV1ixKOUXZE344DvDTYQ1tq+Yr0xbDVuso9rSMlhhtrQjK 6C/v04xXhm7u4reagqI02zGuYivk2n9GVrly1xLJ1dtjXxwWiC77NuMlKzS/3CV53zaq +eX2/d1dvGFSW6r+21uNlJvewAbagm2XjyZq+gavKR8w7lSeSgmVEBS7qVTa7MUfbcBg nThw== ARC-Message-Signature: i=1; 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; bh=rUqK43Vuz2VBNvyBrQK6wQNcU6BoIZBOU4/dcYI1K3I=; fh=48XBgeiZPcMt4eVhvf0xzev3OL6edOaVk9Eim5pF+hk=; b=aK3/U0dMskArqYU1jslUb4ynOYvsW4PfZqfTMBnxTyiONeYOwLq0PmTM8BOI3U74n1 B2PcSOqKeJaJui32tQjRyHrK6y0VlP0I8RRCZARHmZS4u8hA2vlfRnM7jyFP5VfWd3Yo WEyZH3KyOydd8F5lHfIH6Kx8OwMt8cN7souKY9XmwTAc8bclmmZZ01gjRNKLScBkV5B+ SOWbmveZUXkIbmRiecfQXG3q02/C0QUdvCidb97eynnIxmdCG51Rg7U89KafJb+OGPCS IQNcC0mWQQsmNa3ciCnKhr9HAJEuDW6uFN9BOla3PWt6C4H4xRz94CTHOFGxT4kFc0Oz 8zhQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j5-20020a17090a694500b002635643286fsi1853703pjm.133.2023.07.26.18.17.40; Wed, 26 Jul 2023 18:17:53 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231274AbjG0BDi (ORCPT + 99 others); Wed, 26 Jul 2023 21:03:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229552AbjG0BDh (ORCPT ); Wed, 26 Jul 2023 21:03:37 -0400 Received: from out30-133.freemail.mail.aliyun.com (out30-133.freemail.mail.aliyun.com [115.124.30.133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4657526B9 for ; Wed, 26 Jul 2023 18:03:36 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R501e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046049;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=9;SR=0;TI=SMTPD_---0VoIPAEy_1690419812; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VoIPAEy_1690419812) by smtp.aliyun-inc.com; Thu, 27 Jul 2023 09:03:33 +0800 From: Yang Li To: airlied@gmail.com, daniel@ffwll.ch Cc: christian.koenig@amd.com, Xinhui.Pan@amd.com, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] drm/amdgpu: clean up some inconsistent indentings Date: Thu, 27 Jul 2023 09:03:30 +0800 Message-Id: <20230727010330.122606-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772534548286084076 X-GMAIL-MSGID: 1772534548286084076 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c:622 amdgpu_gfx_enable_kcq() warn: inconsistent indenting Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5992 Signed-off-by: Yang Li Reviewed-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c index c76b6bfc4dab..80a306b3d9f9 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c @@ -619,8 +619,7 @@ int amdgpu_gfx_enable_kcq(struct amdgpu_device *adev, int xcc_id) kiq->pmf->kiq_set_resources(kiq_ring, queue_mask); for (i = 0; i < adev->gfx.num_compute_rings; i++) { j = i + xcc_id * adev->gfx.num_compute_rings; - kiq->pmf->kiq_map_queues(kiq_ring, - &adev->gfx.compute_ring[j]); + kiq->pmf->kiq_map_queues(kiq_ring, &adev->gfx.compute_ring[j]); } r = amdgpu_ring_test_helper(kiq_ring);