Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4000439pxj; Tue, 15 Jun 2021 13:10:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+LS0+MrhGnbhsEWQDfldn9GcwafqeO7slb7rjqL35xY1BGg9BYgku29aaaibMo5bZttS4 X-Received: by 2002:a05:6638:2725:: with SMTP id m37mr814740jav.121.1623787831148; Tue, 15 Jun 2021 13:10:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623787831; cv=none; d=google.com; s=arc-20160816; b=bvFe93An9Jlk6+CgKfyzKCbWeY0cF3sjd7yIPNXtCHVUCPBnb6OCEMZLJlp1Q0FYBQ hl8c19rdAAnKp/cnLq/C4Mv0bIkS2nQ4G0xvqOiw+fxqnQB/FOo2h7ytCQ9+4RDDKR22 j4llvbdP0pXCmD6r+wBOxqwTmi614dUuQ83y3pKn7STTgHxycwcYrumcQjpqFZSWYRb6 4RCVZExjFkaM0Mn7Dc2zUpSqWn2HiH7OrkhQeuRdXaviAVBilTamERQWXh0iLHwCotre PdHe4rGLpGNDbyEzMoAENDGuYM9D1VK0/2UNWa+QGjREb5i3/35QkZIpAeb1m61c2Ph8 HVhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=grpU+dQ6BtmxyQhqwU8VFa14I3/A2Q4X/WY+Pgyf6LU=; b=a9jlc4bTJqBmSJIsaWYG818gtHyjR2y7ZVb5jpPpgblioL0aFKrxA73/jsj6e2SLZu 3M0Vum9lik+eOvHFiokyCvKy4QiCeCmQ1DGUZs6DEcDtnkDJAy/mjeRTnDKcc0qGPwan BDR82CJJ4RxuIOi/2n3eY8GsxGcUTM8Q579xsazf/5YbpglMZUoQMLu9rwxH+YaeBGmN uUqK+ne9RedBO5KPZRTZ+efWPSG23cwJRYhz3mJ5lBgllzM6Y4shk0FHhprgqlKgHEiR n4sh5sAbzgR/zq6RSEsl4Re5keusUyeiP2gm04funMxnJfRs2jUXDHbwHZC7Fua9r0Sa vCCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=i95F7m9f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g15si19817790ilk.84.2021.06.15.13.09.40; Tue, 15 Jun 2021 13:10:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=i95F7m9f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229965AbhFOUKE (ORCPT + 99 others); Tue, 15 Jun 2021 16:10:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229898AbhFOUKE (ORCPT ); Tue, 15 Jun 2021 16:10:04 -0400 Received: from mail-oi1-x22a.google.com (mail-oi1-x22a.google.com [IPv6:2607:f8b0:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5291EC061574 for ; Tue, 15 Jun 2021 13:07:58 -0700 (PDT) Received: by mail-oi1-x22a.google.com with SMTP id r16so19124745oiw.3 for ; Tue, 15 Jun 2021 13:07:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=grpU+dQ6BtmxyQhqwU8VFa14I3/A2Q4X/WY+Pgyf6LU=; b=i95F7m9fSgaCfK1vBEfApT1tlSEjk19eUCHmQCgPU3lENBPylJ9IljD7V+1hDtpIO5 J4uwdhfHQawtz00tf4AJG2xJtxkqbDEXVB/nzknIAC8tn4mLbSg78YlColMLDNlsU0YG n4qT4l8cL+iGNVLmK3F2JPDYMh6l+tybd/5ma6JdsmK+VXL5hPS8zJ2zDDCc/Ex7v0Wh GAGq4dHALmIoRnt6YDZyaE514UwJPJmK0EcyCobAHk/8F4elgtR/4/YWyGg4zHxZn4AE wGiFddT9qzc20CpHvC1HHdidvwAoSXmXQN0rmU4VRdYtqaDjg+M4YengxDYlj/gESBIf hQow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=grpU+dQ6BtmxyQhqwU8VFa14I3/A2Q4X/WY+Pgyf6LU=; b=GMCLMO3CPf0RfjphGb2dX3uHTBi5hUVrtrFKIUta0n4L0V5xoemhLQ091wsI6hVou5 R+6px4RanWGABvlip4bW64LeIgN3FdORWMLsgxpR/6fw/0WP5E+5pZofdlrO7mpvKgZf cYvGMTzrXSEt/OI1NoI90nuE7RQ9x/JvFGv1dP5OTcRNT2DY1CO/86tjId0XlaF4zIos +LeVbpQG1ONtn6twiE0JQWIersB6DkxR4EW4TR70jvHdIYqT5nMMnZcV/kjTbZs1pF97 BT0czdaXbKFe52sD8xVqVo4OC4xB+OiHs+ltNsye/GAzj3d1PAQT1OocQmeDKZ5L0qz8 04Hg== X-Gm-Message-State: AOAM533Ity+m7JKBnDJ91tbxXTWAFV0NDpX2pPAAf9+NyIw+UrlWRVvO 89NXy6ZQIKQGG7ID2dFo5/X8qh5O6rZIClra0PE= X-Received: by 2002:a05:6808:999:: with SMTP id a25mr556675oic.123.1623787677732; Tue, 15 Jun 2021 13:07:57 -0700 (PDT) MIME-Version: 1.0 References: <20210615114410.7708-1-wanjiabing@vivo.com> <20210615125402.nhvl2g7q2da4sb3r@outlook.office365.com> In-Reply-To: <20210615125402.nhvl2g7q2da4sb3r@outlook.office365.com> From: Alex Deucher Date: Tue, 15 Jun 2021 16:07:46 -0400 Message-ID: Subject: Re: [PATCH] drm: display: Fix duplicate field initialization in dcn31 To: Rodrigo Siqueira Cc: Wan Jiabing , Yongqiang Sun , Leo Li , LKML , "Pan, Xinhui" , Zhan Liu , Roman Li , amd-gfx list , Nikola Cornij , David Airlie , Dmytro Laktyushkin , Maling list - DRI developers , Daniel Vetter , Alex Deucher , Harry Wentland , =?UTF-8?Q?Christian_K=C3=B6nig?= Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Applied. Thanks! On Tue, Jun 15, 2021 at 8:54 AM Rodrigo Siqueira wrote: > > On 06/15, Wan Jiabing wrote: > > Fix the following coccicheck warning: > > drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c:917:56-57: > > pstate_enabled: first occurrence line 935, second occurrence line 937 > > > > Signed-off-by: Wan Jiabing > > --- > > drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c | 1 - > > 1 file changed, 1 deletion(-) > > > > diff --git a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c > > index 0d6cb6caad81..c67bc9544f5d 100644 > > --- a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c > > +++ b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c > > @@ -934,7 +934,6 @@ static const struct dc_debug_options debug_defaults_drv = { > > .dmub_command_table = true, > > .pstate_enabled = true, > > .use_max_lb = true, > > - .pstate_enabled = true, > > .enable_mem_low_power = { > > .bits = { > > .vga = false, > > -- > > 2.20.1 > > > > Reviewed-by: Rodrigo Siqueira > > Thanks > > -- > Rodrigo Siqueira > https://siqueira.tech > _______________________________________________ > amd-gfx mailing list > amd-gfx@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/amd-gfx