From patchwork Mon Oct 26 19:41:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 318987 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp950083ilc; Mon, 26 Oct 2020 12:41:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUImhYwpI/ZFGscVq2NjV5fjS3IQ6k5lIc4CQzcKPGHy4g9abTg0gr+J/9w+xWzCNiJ6Hw X-Received: by 2002:a62:7c09:0:b029:152:60c9:43b2 with SMTP id x9-20020a627c090000b029015260c943b2mr893940pfc.79.1603741313044; Mon, 26 Oct 2020 12:41:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603741313; cv=none; d=google.com; s=arc-20160816; b=xYD5oHUNt0PkCHYjAC+p1HLh5Z2DZyFb+QJYlrk/F3C+kP+nDXgBjC0+XuhggJIDLG oixKiax1M69mPwPeml7wvp/jRt6vMLHHbSDWkI/gYMNkQIPAocZKFk2MAGGo7ucGFHlW OA0Z/BVRf+hgvdexO9SCejuw/M0CrgzaAsc431g2NAEifXwO270Fwnh3nem+8cLNF6vM eA61QV61hCrAbzjbF4JaU+n2/d5KAwr1W4/TEXrR99oHs6GHlyQv2sQpSpIOrrWvMjNL eksnCpViDoh68dVjUSHYD7PES+/evRFvBmCU2NkJPlR9AyXsSNQHdKYLUMDriOOBGGw8 jcOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=wZ8MI4Z/xURARMXAwA9CHELTUpASTkwhWiG4eJjaTSo=; b=eow6q4grD3Gnvw4GVJejG8s6y27/hBOQBDhUwmSf9HvlZJdTZGIjc2/D5LG+mRfb9g GrUKDqWKucm37OFa22jQvtMDHL6xtzLHXCjFaX4sl7EGIqcexg4MKzfUtNmdqXR/zMRh xhIoZN6/HlgRykcUZcZTCZ8Amp5yjWvo3LBJxy50tm13SHOrJs01iBeM6CE8PVMH4k5V NS1oG+fRX50gTIxvzEL14iJ+S28/SCUg/o89ByFPqkULkOj+C+Pyx80HwoTJSCwtAoYO 7CSJXJifMKRkQByX7DCY+fw1i+pxUKS2QXhx+vMk0TkxB9YX8SeA/tCm6B/9OGGkCT7x 9PQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=zyNLVnR7; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id y10si10040161pjl.143.2020.10.26.12.41.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Oct 2020 12:41:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=default header.b=zyNLVnR7; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1C6F46E135; Mon, 26 Oct 2020 19:41:52 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7456E6E0E5; Mon, 26 Oct 2020 19:41:50 +0000 (UTC) Received: from localhost.localdomain (unknown [192.30.34.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3F41420872; Mon, 26 Oct 2020 19:41:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603741310; bh=VLNSpeq9/avcjh10RAUxOl5HJD/C0lqcUgYnxzCFedA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zyNLVnR7Y8LoSfkbNY4gd0K6VlfbjAqqlUi23Qqy54f0We4dvdQQaDOWeKtz58zM8 CLzuQZP29aOtQ3guUZGXXt3mow91qds3KkcX2iLMoTOuqSRpnpr2nGnTvaJayU6kdY FPSrxYCzurbCzYzjTX2Mfcfe/E8p5aIf2H5tzQzI= From: Arnd Bergmann To: Rob Clark , Sean Paul , David Airlie , Daniel Vetter , Jonathan Marek Subject: [PATCH 3/4] drm/msm: fix -Woverride-init warning Date: Mon, 26 Oct 2020 20:41:03 +0100 Message-Id: <20201026194110.3817470-3-arnd@kernel.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201026194110.3817470-1-arnd@kernel.org> References: <20201026194110.3817470-1-arnd@kernel.org> MIME-Version: 1.0 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: Rob Clark , Krishna Manikandan , Shubhashree Dhar , Arnd Bergmann , Raviteja Tamatam , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Stephen Boyd , Kalyan Thota , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Arnd Bergmann There is one harmless duplicate initialization that causes a warning with 'make W=1': drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:122:19: warning: initialized field overwritten [-Woverride-init] 122 | .max_linewidth = 4096, | ^~~~ drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:122:19: note: (near initialization for 'sm8250_dpu_caps.max_linewidth') Remove one of the two identical initializers to avoid the warning. Fixes: af776a3e1c30 ("drm/msm/dpu: add SM8250 to hw catalog") Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 1 - 1 file changed, 1 deletion(-) -- 2.27.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c index 60b304b72b7c..9c23f814ccaf 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c @@ -111,7 +111,6 @@ static const struct dpu_caps sm8150_dpu_caps = { static const struct dpu_caps sm8250_dpu_caps = { .max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH, .max_mixer_blendstages = 0xb, - .max_linewidth = 4096, .qseed_type = DPU_SSPP_SCALER_QSEED3, /* TODO: qseed3 lite */ .smart_dma_rev = DPU_SSPP_SMART_DMA_V2, /* TODO: v2.5 */ .ubwc_version = DPU_HW_UBWC_VER_40,