Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3602800pxj; Tue, 15 Jun 2021 04:46:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3M1SWc3rlUpQz978B4S25+YCbZLNDiPm/n7wOYG915+68zaYVIQ5T2D8v32Z0Jiu0gLW4 X-Received: by 2002:a05:6638:1355:: with SMTP id u21mr2904017jad.106.1623757567233; Tue, 15 Jun 2021 04:46:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623757567; cv=none; d=google.com; s=arc-20160816; b=Xx8IvQGJ439unRUjCt2vozY60fI7v3P9LqkkLZi0g2K1l8uHco6/QnvG7+aF6/eIkp IdXnFLBSR+MzHVXkLkFWv3ql1PuAzeL4LH8ySEbvQsyY4b55TIM//EY0sG9/HHc/WOcj sSUs+lznnj8pREHcSiPOc28fieAseKXkUa11jmAYpJWWlW2uIax7+dchoSikjFWfe/f+ MgE0eix14ryAR6nhSytOURhv5Q5Aqr2tW6AEhKiqUlIH5+fLOZ9XGgqCMP4lnvoaUu1L z/1c8i8E//oCs3Z8ez16YScS6817WHyz3xJ82L42Vi+ksrM5DlGOsOZVXzk2siAWhYfq lyEA== 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:dkim-signature; bh=j3jt4fUPgIREfp+PJY4vqwyrcfj6j4PCiNXLHMJ+77c=; b=L0m0feIDO4Awr0d/Vr7KVhEsFTvgG0Bwlxl+G9+pXZOU6QY/EYhGL382knWs0NHSRf mn7VNqCLBNDO7WTyuZl+/DAPMJuUdLO/QCVBrUReEv7alX9U+udXIKVzD6rMvHbhVz+5 akSatTws9uqNHziCXEfcCZZVJOBT2zWpEGRkJQ+bRmGMxE4GZhLDsRCN7kU442aQU39k kocm/qyPolX23Z37CRW5pY/ERN1/NsF/gA5UPzG5bbbuJrCVy9XuUIXbmlM0OfKvD0Fu 3RVwhGLdQzOAXwPlx1pRN4ljzw1I8N9rSU1Jv1w0gd5sDo5VyK4PIVGo6hQNix7kV6KM 37dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@vivo.com header.s=default header.b=ZAO2bcFN; 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=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t5si19894499ilq.24.2021.06.15.04.45.53; Tue, 15 Jun 2021 04:46:07 -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=temperror (no key for signature) header.i=@vivo.com header.s=default header.b=ZAO2bcFN; 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=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229909AbhFOLrX (ORCPT + 99 others); Tue, 15 Jun 2021 07:47:23 -0400 Received: from mail-m121144.qiye.163.com ([115.236.121.144]:45186 "EHLO mail-m121144.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229557AbhFOLrX (ORCPT ); Tue, 15 Jun 2021 07:47:23 -0400 DKIM-Signature: a=rsa-sha256; b=ZAO2bcFNMtQU/YuKzEFCBUJLBEZWCWvWxwPeox2Dqn+RMJOOMXQKhZQO97rfOShPgN6EdQ9NWvNDlGPfYIWuMgzGVSxedB8vhK7knKoq5KkAS8mdO3omoBDF3trFE3n7kghZoSIMPl84Dti+AamdPsN0Py1hwb28MrDasAHmtB0=; c=relaxed/relaxed; s=default; d=vivo.com; v=1; bh=j3jt4fUPgIREfp+PJY4vqwyrcfj6j4PCiNXLHMJ+77c=; h=date:mime-version:subject:message-id:from; Received: from Wanjb.localdomain (unknown [36.152.145.182]) by mail-m121144.qiye.163.com (Hmail) with ESMTPA id 50D5BAC03F3; Tue, 15 Jun 2021 19:45:05 +0800 (CST) From: Wan Jiabing To: Harry Wentland , Leo Li , Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , "Pan, Xinhui" , David Airlie , Daniel Vetter , Rodrigo Siqueira , Zhan Liu , Nikola Cornij , Dmytro Laktyushkin , Yongqiang Sun , Roman Li , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: Wan Jiabing Subject: [PATCH] drm: display: Fix duplicate field initialization in dcn31 Date: Tue, 15 Jun 2021 19:44:01 +0800 Message-Id: <20210615114410.7708-1-wanjiabing@vivo.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZS1VLWVdZKFlBSE83V1ktWUFJV1kPCR oVCBIfWUFZQhkaT1ZJSEkdSk8fS00dQk1VEwETFhoSFyQUDg9ZV1kWGg8SFR0UWUFZT0tIVUpKS0 9ISFVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6NS46Ejo*FT8NI0gJC086NUoZ MlZPCS9VSlVKTUlITE5MTktNTktIVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFJTUNDNwY+ X-HM-Tid: 0a7a0f7d464cb039kuuu50d5bac03f3 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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