From patchwork Tue Feb 15 14:53:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 542792 Delivered-To: patch@linaro.org Received: by 2002:ac0:e142:0:0:0:0:0 with SMTP id r2csp529618imn; Tue, 15 Feb 2022 06:53:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJwuZDUTwHyw8B+QfposKeSWwaiUHa0OzghVgqk+U/Dm/WVHC8O3oJ0Lw64D+Yu6uYP8TDkT X-Received: by 2002:a17:902:b586:: with SMTP id a6mr4367944pls.150.1644936794939; Tue, 15 Feb 2022 06:53:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644936794; cv=none; d=google.com; s=arc-20160816; b=khf4lqE/HqH/PLuIh3TR1AZYliftQguxAPCW8eJeHoo9GnwLSkkPlT8drvpFtjOJVk Xl0BBxnM4ldqgr6pK4nGRDmgrRlvOapKRJww23hIjORs24rrgPbxs2+DBo4W2fIuKbmd Rj2glnNPTXRNg+Y/Eo93azSRZHakqppy/CJ8I5kvryvlZfNJXe+zIxBezCU9X/miZqsh o8L0BK90Mhgj+svR+tR0hZit7kb2AiC+GtuTxwByiiJl1aYy+G9Sg144V1RPGhMvQVhH zUlMk9CfPS6Hi0KUS0q+hZvChr1rwVDDuvjcqHHSwbpemABA+z84gRjyn8Ih7c582ziB 6ltQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature :delivered-to; bh=zCLnsVTMtDHaflKFgpnSqZKust3IH7T2akrv1b5RakE=; b=tUXmMV7Nei2epzvCePsby1rid0YuEEQjm5DsvGVUov/J4CizerJD45ljqGKu4OWa86 Ucj/7XBwqEbFbtSoLuHQq25aaDqlmvLrg5r4tVAHVEGVs8bmWEzIg1qwCSrDcFdbtI0/ LjVmvEIGYvH3x57BBrNPikH++oRKL3Ki2PBwFTqkwgP2ZqoCaz/IzVaT7DQU6DAhYEgj O46UgyLFCq1TYncZd3V5nH6+8wmpVtnegZGZ7GbR4pbSEquXLYc74dV+/WMnn7ZMnpCR 5JUgsRuEn+6UOkjRlOSr5MS7f0PxCgluSbALwSWWOYs/kU5KGBNOE1O3RAdAjVR7VMPV 3QVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=SiLa0SXn; 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=linaro.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 q6si1413365pgs.642.2022.02.15.06.53.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Feb 2022 06:53:14 -0800 (PST) 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=fail header.i=@linaro.org header.s=google header.b=SiLa0SXn; 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=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DEDFD10E37F; Tue, 15 Feb 2022 14:53:11 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7E41D10E49F for ; Tue, 15 Feb 2022 14:53:10 +0000 (UTC) Received: by mail-lf1-x132.google.com with SMTP id b9so13182506lfv.7 for ; Tue, 15 Feb 2022 06:53:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=zCLnsVTMtDHaflKFgpnSqZKust3IH7T2akrv1b5RakE=; b=SiLa0SXnDqJU4mzuOMaYe8l7tE//bxQIJvXKoa2FHfpF9ssesCZ6aoK8GIhWBtaZLP /Fv6Kkpjyi/4O/1gfV27g3we8oHaf6AV7PQV7AaoDluExl6Nzzdpd93fhtRI1SH5cYDh 2vb8DwxEF9swvfPy227E0fYg3WOUdJfzbmWO8+N3nkUho/LL4XzZ8+67ip6Gfp0spsQ3 kNdSc10k5lIldy09hVn0NkpBPWFp8Wfy5+DArDSOqhVohBywAjI63gRa+GAR9zi7NmvH LXgcQ+minUjFOM60ajWvZmVbQIJw6dQZCepkvNnS8O80aK4pDZIe1ciUQ5UbFtG7WwAm 9pww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=zCLnsVTMtDHaflKFgpnSqZKust3IH7T2akrv1b5RakE=; b=x5ovDLL9AFgH8XEPoj5KinYqNds7DK8HMKx0JFkkXchFuca5rKnI9DnwOyOvZEH2Ym lgxOCVluHrbm9YZs8jycO6dpAJn/d0iCs98pqSvgxOzdulzuiRIRok8hFkNwSCU6deUc WxdvHRUZXHmIOsXUWeC8vaEjo+3SQK/kUR16x36d3jbGWQz8/UFRPODzv0zZ/jc0GByl ycdMV4yxPmKBxf8e+Xx7hpQHPwTUwbEWHxP7oGP+Rp5gdDVSC4YJydRdJd4d39DgWLFJ wEI/YCXR8WUgCAyV4G+tAqMm8zcFMdF6pvdi3aAGmeh2yzfp3DJ+Al0hS9cJiCxc1u2O uZqg== X-Gm-Message-State: AOAM532ZeEhHnJ/1sX6Xlv4a43FyZzTjiLannelgN5gBjg77JgrPRYOA vglxT85I9yD87BHWT5+00R8vzA== X-Received: by 2002:a05:6512:c09:: with SMTP id z9mr3397519lfu.303.1644936788846; Tue, 15 Feb 2022 06:53:08 -0800 (PST) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id f27sm273182lfk.239.2022.02.15.06.53.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Feb 2022 06:53:08 -0800 (PST) From: Dmitry Baryshkov To: Bjorn Andersson , Rob Clark , Sean Paul , Abhinav Kumar Subject: [PATCH] drm/msm/dpu: drop unused access macros Date: Tue, 15 Feb 2022 17:53:06 +0300 Message-Id: <20220215145306.3470924-1-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.34.1 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: David Airlie , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, Stephen Boyd , freedreno@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The access macros BLK_foo are not used by the code, drop them. Signed-off-by: Dmitry Baryshkov Reviewed-by: Bjorn Andersson Reviewed-by: Stephen Boyd Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h index cac0298aeb52..975ff3a4ae3d 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h @@ -778,22 +778,6 @@ struct dpu_mdss_cfg { unsigned long mdss_irqs; }; -/* - * Access Macros - */ -#define BLK_MDP(s) ((s)->mdp) -#define BLK_CTL(s) ((s)->ctl) -#define BLK_VIG(s) ((s)->vig) -#define BLK_RGB(s) ((s)->rgb) -#define BLK_DMA(s) ((s)->dma) -#define BLK_CURSOR(s) ((s)->cursor) -#define BLK_MIXER(s) ((s)->mixer) -#define BLK_PINGPONG(s) ((s)->pingpong) -#define BLK_INTF(s) ((s)->intf) -#define BLK_AD(s) ((s)->ad) -#define BLK_DSPP(s) ((s)->dspp) -#define BLK_MERGE3d(s) ((s)->merge_3d) - /** * dpu_hw_catalog_init - dpu hardware catalog init API retrieves * hardcoded target specific catalog information in config structure