From patchwork Thu Jun 28 18:29:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Paul X-Patchwork-Id: 10494715 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CF9D760230 for ; Thu, 28 Jun 2018 18:29:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D6C742A77C for ; Thu, 28 Jun 2018 18:29:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CAFE82A78B; Thu, 28 Jun 2018 18:29:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6EB392A77C for ; Thu, 28 Jun 2018 18:29:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030475AbeF1S3Z (ORCPT ); Thu, 28 Jun 2018 14:29:25 -0400 Received: from mail-yb0-f193.google.com ([209.85.213.193]:38809 "EHLO mail-yb0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030485AbeF1S3T (ORCPT ); Thu, 28 Jun 2018 14:29:19 -0400 Received: by mail-yb0-f193.google.com with SMTP id f12-v6so2383225ybp.5 for ; Thu, 28 Jun 2018 11:29:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=NEz0bSfAn2bUoGDXzrMa4Mwzo8SL+89wXXL5b69QJDg=; b=FrJmasnfw8zINZMBlngkUqQJojk0zQLwMsBIZcZeiljKmloMT5xdQA700Mujj9BCc0 JIZ8WDw8Dkt7GDknnQmQqa5R4M1c21ozO7bQ5LwAYbEixh96IeVrhPNkkSbo8q34W1Rh BX79k+n1SLm1K5JH6gQly53nVvy2FlhHvpVKQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=NEz0bSfAn2bUoGDXzrMa4Mwzo8SL+89wXXL5b69QJDg=; b=dVCcxufvN3xIZf/Fbip5cqwK+H0neG9LhqCFxvEtiIkjPru/e15PdF21OehGDUjsto l6QPxTcYN64fv//5oPctk/sMQGwY3i5TbySgJ0i60nUPcWgft25z+g2TS2JEW7M6q3XN Dzh+b+21Aayn5LDr5+M3EhHiHYO6A7B3we6Y2Xu3heZUA3kbj+sB6wgShYtTNyTa5TIj dUgJmM1DCyZzNM8olio3mU+IC7Zc8Cx5abxDmW54ioCpgvS/6nflFDHYabW/e2+2PqKn 0xi2tUhrogngxHLfCZgcv7YQzSeFLSlNzdaHCdsOZF2sQ+BS0kwlUPFn9b5iQpX7v83s lTdQ== X-Gm-Message-State: APt69E23E5tXhctwMpjC8LmDQhHQIGHTO0vxLnbZy76mn244FKbkdreS yUV4FtSy4TG+ndXAi6BDU9tzFQ== X-Google-Smtp-Source: ADUXVKLiN/HGIDz1bXti8cSoLF/U4JlcJA2ZE4EACuS1DNGIFDotTSz6yeK9UTSR7kAUDloOjH991A== X-Received: by 2002:a25:d714:: with SMTP id o20-v6mr5844516ybg.78.1530210558953; Thu, 28 Jun 2018 11:29:18 -0700 (PDT) Received: from rosewood.cam.corp.google.com ([2620:0:1013:11:ad55:b1db:adfe:3b9f]) by smtp.gmail.com with ESMTPSA id g145-v6sm2732140ywe.17.2018.06.28.11.29.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Jun 2018 11:29:18 -0700 (PDT) From: Sean Paul To: freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org Cc: robdclark@gmail.com, hoegsberg@chromium.org, jsanka@codeaurora.org, abhinavk@codeaurora.org, Sean Paul Subject: [DPU PATCH 12/15] drm/msm: Remove unused backpointers from dpu_crtc Date: Thu, 28 Jun 2018 14:29:03 -0400 Message-Id: <20180628182906.84926-13-seanpaul@chromium.org> X-Mailer: git-send-email 2.18.0.rc2.346.g013aa6912e-goog In-Reply-To: <20180628182906.84926-1-seanpaul@chromium.org> References: <20180628182906.84926-1-seanpaul@chromium.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Sean Paul --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 2 -- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h | 4 ---- 2 files changed, 6 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c index 52f3e0667c33..c70b609aa7f2 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c @@ -2241,12 +2241,10 @@ static int dpu_crtc_debugfs_state_show(struct seq_file *s, void *v) { struct drm_crtc *crtc = (struct drm_crtc *) s->private; struct dpu_crtc *dpu_crtc = to_dpu_crtc(crtc); - struct dpu_crtc_state *cstate = to_dpu_crtc_state(crtc->state); struct dpu_crtc_res *res; struct dpu_crtc_respool *rp; int i; - seq_printf(s, "num_connectors: %d\n", cstate->num_connectors); seq_printf(s, "client type: %d\n", dpu_crtc_get_client_type(crtc)); seq_printf(s, "intf_mode: %d\n", dpu_crtc_get_intf_mode(crtc)); seq_printf(s, "core_clk_rate: %llu\n", diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h b/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h index 7147dcb2be16..1284e991f686 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h @@ -297,8 +297,6 @@ struct dpu_crtc_respool { /** * struct dpu_crtc_state - dpu container for atomic crtc state * @base: Base drm crtc state structure - * @connectors : Currently associated drm connectors - * @num_connectors: Number of associated drm connectors * @is_ppsplit : Whether current topology requires PPSplit special handling * @bw_control : true if bw/clk controlled by core bw/clk properties * @bw_split_vote : true if bw controlled by llcc/dram bw properties @@ -312,8 +310,6 @@ struct dpu_crtc_respool { struct dpu_crtc_state { struct drm_crtc_state base; - struct drm_connector *connectors[MAX_CONNECTORS]; - int num_connectors; bool bw_control; bool bw_split_vote;