From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0AE01C48BE8 for ; Tue, 15 Jun 2021 20:08:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DB78C61246 for ; Tue, 15 Jun 2021 20:08:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230205AbhFOUKF (ORCPT ); Tue, 15 Jun 2021 16:10:05 -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-Google-Smtp-Source: ABdhPJwzP9efs2U6D7VzGqrlTEr9BDxh02uo2PpPnHgBG/J7KcRFMiuDelbPo7UwGsMyezXZFRpLA4KQlSdsxMJnIkA= 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 832FEC48BE5 for ; Tue, 15 Jun 2021 20:08:00 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1AC7661246 for ; Tue, 15 Jun 2021 20:08:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1AC7661246 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 720E889C69; Tue, 15 Jun 2021 20:07:59 +0000 (UTC) Received: from mail-oi1-x236.google.com (mail-oi1-x236.google.com [IPv6:2607:f8b0:4864:20::236]) by gabe.freedesktop.org (Postfix) with ESMTPS id 57B4089C69; Tue, 15 Jun 2021 20:07:58 +0000 (UTC) Received: by mail-oi1-x236.google.com with SMTP id w127so19545006oig.12; 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=QXYa0IyTZtofI/LXPSX2iNkLm1guveq2x5+TwhgQUz6So86nU/VTR8WAGjROh0PzCO GOKrA98i5Ov6mdkaL3yKmd9DgNBbIvIJq2VavNPizPHjyP5PUKlBLc5iI2JNUrntUAoH Dgp+IRf+pVvhzDNXxhh+V/O/3FW9eOXuVNAABfBYAcrpgm02rRfL0F8Y/t4xs0VCVv9o 4DOqlF/eRRR9C6/R2BB9WIyh/xtVNpanRDK34FDzZKzfNnDoWwTztGVLuGfVfB8r2gyE 23MDP1Ok52o32XTyn18IgdjBcfFHk3ukN6j9kfYLKTce0eSTSVubgd3PqqOmNjhNiv3V HIdg== X-Gm-Message-State: AOAM532JNMuYhonIFE6JzYze+U4W3mKXARcwafDbRQ3I9vK3Xrv3T2fa k6pDiDD/B8+6ILF2WFH3mR8TYndnixRGWuLmTp8= X-Google-Smtp-Source: ABdhPJwzP9efs2U6D7VzGqrlTEr9BDxh02uo2PpPnHgBG/J7KcRFMiuDelbPo7UwGsMyezXZFRpLA4KQlSdsxMJnIkA= 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 Content-Type: text/plain; charset="UTF-8" X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Dmytro Laktyushkin , Wan Jiabing , Leo Li , "Pan, Xinhui" , Zhan Liu , LKML , amd-gfx list , Roman Li , David Airlie , Yongqiang Sun , Maling list - DRI developers , Alex Deucher , Nikola Cornij , =?UTF-8?Q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 04B95C48BE5 for ; Tue, 15 Jun 2021 20:08:05 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BF9C461246 for ; Tue, 15 Jun 2021 20:08:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BF9C461246 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=amd-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 13E7F6E23F; Tue, 15 Jun 2021 20:08:00 +0000 (UTC) Received: from mail-oi1-x236.google.com (mail-oi1-x236.google.com [IPv6:2607:f8b0:4864:20::236]) by gabe.freedesktop.org (Postfix) with ESMTPS id 57B4089C69; Tue, 15 Jun 2021 20:07:58 +0000 (UTC) Received: by mail-oi1-x236.google.com with SMTP id w127so19545006oig.12; 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=QXYa0IyTZtofI/LXPSX2iNkLm1guveq2x5+TwhgQUz6So86nU/VTR8WAGjROh0PzCO GOKrA98i5Ov6mdkaL3yKmd9DgNBbIvIJq2VavNPizPHjyP5PUKlBLc5iI2JNUrntUAoH Dgp+IRf+pVvhzDNXxhh+V/O/3FW9eOXuVNAABfBYAcrpgm02rRfL0F8Y/t4xs0VCVv9o 4DOqlF/eRRR9C6/R2BB9WIyh/xtVNpanRDK34FDzZKzfNnDoWwTztGVLuGfVfB8r2gyE 23MDP1Ok52o32XTyn18IgdjBcfFHk3ukN6j9kfYLKTce0eSTSVubgd3PqqOmNjhNiv3V HIdg== X-Gm-Message-State: AOAM532JNMuYhonIFE6JzYze+U4W3mKXARcwafDbRQ3I9vK3Xrv3T2fa k6pDiDD/B8+6ILF2WFH3mR8TYndnixRGWuLmTp8= X-Google-Smtp-Source: ABdhPJwzP9efs2U6D7VzGqrlTEr9BDxh02uo2PpPnHgBG/J7KcRFMiuDelbPo7UwGsMyezXZFRpLA4KQlSdsxMJnIkA= 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 X-BeenThere: amd-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion list for AMD gfx List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Dmytro Laktyushkin , Wan Jiabing , Leo Li , "Pan, Xinhui" , Zhan Liu , LKML , amd-gfx list , Roman Li , David Airlie , Yongqiang Sun , Maling list - DRI developers , Daniel Vetter , Alex Deucher , Nikola Cornij , Harry Wentland , =?UTF-8?Q?Christian_K=C3=B6nig?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: amd-gfx-bounces@lists.freedesktop.org Sender: "amd-gfx" 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 _______________________________________________ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx