From patchwork Tue Dec 19 06:26:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiapeng Chong X-Patchwork-Id: 180773 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp1747092dyi; Mon, 18 Dec 2023 22:27:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IF4mBxgHpvGupfrQLS6/ZpE4cU8fG2LKIrufnBtAkqgxFpLQOy9MMSa04BS+zxo7wRZGzLa X-Received: by 2002:aa7:8698:0:b0:6d3:eb3d:f462 with SMTP id d24-20020aa78698000000b006d3eb3df462mr5748187pfo.66.1702967227132; Mon, 18 Dec 2023 22:27:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702967227; cv=none; d=google.com; s=arc-20160816; b=GEYlnMcYsTq1/BYDfesz1EMfHEmE2EAGo4l86sYbN3DnG2KUyrAgG1v4LcU1j0lZYE HlngthceMgjFjMxtl5AXRyisXuRLALwYCijlu66RVt6BUEYgvM4OA7xNXiuBbHkjfauy I4pJPK4JoUGV+qi7T/uw88ZA5eDkzWTFgmanV19nWbVNuM/fF9aT/O7xRtM0/w4R6t1D TKxJ1OqiJEU8kKJ50+W8BUuXjF25tV5mSQud6nirluZA8AsYpBv+0LvUdYJb8Ez+RPyl Tx3GPc3tcbo4ob6qqcYceWZtc2t3ehwt7u0ciNh0OxREIYM+LPw/Gcaz6vO9Akbjor6I trWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=Nc7DHw1VWz/JYfIv5OrdmEtAAOk6O3j+AIRSHMRENxQ=; fh=fKSnbRWcveY2/UYJ1RM6lNm1S6q9yGV6hSxKE900f8g=; b=syOqm6mjfhqCNTzv/VjLuS56a+l5zcGR1zT/pRkrrKWq7Fmz2G5C4irNVtr2zCn8L7 IwKrNw31eW886gfCDbpDW4iF9M9ctCxuYujEa6X68ZeiZpM6CI/zyCMxy/BZU1botEUG JUwvUIvAN+U4H+YPb0wrWf0cV7U1G4Da9TrhT9juAQ/8izSnUpDyUVAl0mzIZtTAZ2/I XoNd+492VxtbIcmQWlOeGsgaJfdYeIzfRPsC+2Dz0sx/OQ2wO5jSB/AaIBg32G70RROn JJX61MobbfZjPWlp/77RmWKnbnhK3ouCHSm6nZY8RBgigoLtoyIZho1cO8J22RiqeI8K 9eUQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-4749-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4749-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id ka34-20020a056a0093a200b006be3c302801si2734614pfb.397.2023.12.18.22.27.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 22:27:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4749-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-4749-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4749-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 3ED6FB22289 for ; Tue, 19 Dec 2023 06:27:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7D9AC11CB3; Tue, 19 Dec 2023 06:26:51 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from out30-119.freemail.mail.aliyun.com (out30-119.freemail.mail.aliyun.com [115.124.30.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4DF9111702 for ; Tue, 19 Dec 2023 06:26:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R101e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046049;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=14;SR=0;TI=SMTPD_---0VypirKI_1702967198; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VypirKI_1702967198) by smtp.aliyun-inc.com; Tue, 19 Dec 2023 14:26:43 +0800 From: Jiapeng Chong To: hjc@rock-chips.com Cc: heiko@sntech.de, andy.yan@rock-chips.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] drm/rockchip: vop2: clean up some inconsistent indenting Date: Tue, 19 Dec 2023 14:26:35 +0800 Message-Id: <20231219062635.100718-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785690563154730191 X-GMAIL-MSGID: 1785690563154730191 No functional modification involved. drivers/gpu/drm/rockchip/rockchip_drm_vop2.c:1708 rk3588_calc_cru_cfg() warn: inconsistent indenting. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7778 Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c b/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c index 44508c2dd614..d3fad523bd6e 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c @@ -1705,8 +1705,8 @@ static unsigned long rk3588_calc_cru_cfg(struct vop2_video_port *vp, int id, * *if_pixclk_div = dclk_rate / if_pixclk_rate; * *if_dclk_div = dclk_rate / if_dclk_rate; */ - *if_pixclk_div = 2; - *if_dclk_div = 4; + *if_pixclk_div = 2; + *if_dclk_div = 4; } else if (vop2_output_if_is_edp(id)) { /* * edp_pixclk = edp_dclk > dclk_core