From patchwork Sun Jun 4 20:35:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 689360 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C163BC7EE2F for ; Sun, 4 Jun 2023 20:35:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231308AbjFDUfr (ORCPT ); Sun, 4 Jun 2023 16:35:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231390AbjFDUfq (ORCPT ); Sun, 4 Jun 2023 16:35:46 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08EFDDA for ; Sun, 4 Jun 2023 13:35:45 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-4f50470d77cso4972629e87.0 for ; Sun, 04 Jun 2023 13:35:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685910943; x=1688502943; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Ngdskt7sc5i/f/N0G4HMk1MJYYzAgPMfb7pEaA4uo2I=; b=ueiIUWIVSdYwgbyvq+J1hFfpTiuJZQ2RuHphgIIjNmOVwebZKja7J7Bz4SWTeQ4MPG mAh2LsssXCEbZYchFpan3ogZyxUYUEa8xjmiO8LGLIAkDulDUYoitNU8PHclNxzyPzct +oF74ijmg/nU4txdLUEUfpS3BLujiQBxo+Cbx4kRqgv06WglHkVnYB9d4cTvbdaWcfQG XZKpjslpEMHpdJ7bJeYrrfHgpBIpi804iP5+J4IGeoR8FnRx2G0Z/l8M6A3o4NnPu6lg S7Yg+Wf/qaSTMrbjuKqVGiw25eUKio/1z/FT9HbdSdZ3bIr93XXmWWzkenfmRsi0hDOD yJzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685910943; x=1688502943; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ngdskt7sc5i/f/N0G4HMk1MJYYzAgPMfb7pEaA4uo2I=; b=Q1La2mxLd50ClNnV3BZmXZZ4QfUOuZcE29seIEFXtTW75Q6U5/ggrNf3A+TiEeNfo5 umsw2gxtJot7PXltypS+L1ZRUfRjQ6Sc6TCoh1DBTGfvuzrNLrVuJqxmarbMOYt6wIhT mY6pFwczWjyMODuTDrGwvnJNDu8r7oGga8eqQu9EJUBdRQVObBo4xSh28HPB09bT7B52 nkDCGKh16mpJGzfpr+ogifucNZoz5dv81q4PM8OU23sj4mdewEHNi2yGnFocDm7k7R8J ZHN6AbcCzPguu0QCK5dHHaqxQzb+usOfewk/Q3/yE3xvTpNcH4vf8yUjGIqhq3kOANsN LMGw== X-Gm-Message-State: AC+VfDwAAFSn4HW2DFwJsIr9s2qK+lkXPrKi16iInDT0DK8YTTDxRUhA /AJXvGBDjZTC+nvw8irL5ox08w== X-Google-Smtp-Source: ACHHUZ5agcicHZNWHA4kPqgb4UqCW9vkzU3zZXgpeGhoqE2h3yiL5FvJVmDb3HNpakw5h85OHsN66g== X-Received: by 2002:ac2:514d:0:b0:4f1:496a:de8e with SMTP id q13-20020ac2514d000000b004f1496ade8emr4386886lfd.27.1685910943418; Sun, 04 Jun 2023 13:35:43 -0700 (PDT) Received: from eriador.lan (dzdqv0yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a0db:1f00::8a5]) by smtp.gmail.com with ESMTPSA id a19-20020a19f813000000b004f2794dcb4asm875822lff.255.2023.06.04.13.35.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Jun 2023 13:35:42 -0700 (PDT) From: Dmitry Baryshkov To: Rob Clark , Sean Paul , Abhinav Kumar , Marijn Suijten Cc: Stephen Boyd , David Airlie , Daniel Vetter , Bjorn Andersson , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org Subject: [PATCH 09/22] drm/msm/dpu: drop zero features from dpu_ctl_cfg data Date: Sun, 4 Jun 2023 23:35:19 +0300 Message-Id: <20230604203532.1094249-10-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230604203532.1094249-1-dmitry.baryshkov@linaro.org> References: <20230604203532.1094249-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Drop useless zero assignments to the dpu_ctl_cfg::features field. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h | 3 --- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_0_sdm845.h | 3 --- 2 files changed, 6 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h index 91844eb65b6c..8d8a38e10052 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h @@ -54,7 +54,6 @@ static const struct dpu_ctl_cfg msm8998_ctl[] = { { .name = "ctl_1", .id = CTL_1, .base = 0x1200, .len = 0x94, - .features = 0, .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 10), }, { @@ -66,13 +65,11 @@ static const struct dpu_ctl_cfg msm8998_ctl[] = { { .name = "ctl_3", .id = CTL_3, .base = 0x1600, .len = 0x94, - .features = 0, .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 12), }, { .name = "ctl_4", .id = CTL_4, .base = 0x1800, .len = 0x94, - .features = 0, .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 13), }, }; diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_0_sdm845.h b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_0_sdm845.h index a2dbf61bac2d..7db137e1f782 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_0_sdm845.h +++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_0_sdm845.h @@ -58,19 +58,16 @@ static const struct dpu_ctl_cfg sdm845_ctl[] = { { .name = "ctl_2", .id = CTL_2, .base = 0x1400, .len = 0xe4, - .features = 0, .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 11), }, { .name = "ctl_3", .id = CTL_3, .base = 0x1600, .len = 0xe4, - .features = 0, .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 12), }, { .name = "ctl_4", .id = CTL_4, .base = 0x1800, .len = 0xe4, - .features = 0, .intr_start = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR2, 13), }, };