Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4248027imu; Tue, 18 Dec 2018 11:27:58 -0800 (PST) X-Google-Smtp-Source: AFSGD/WEDB/wK01obeu+8Qolems/YKfyE8JETkw3zCDJmW6mmgLwAwbqlz6sR8jyFtPlDgTJ5QK0 X-Received: by 2002:a62:2e46:: with SMTP id u67mr17415807pfu.3.1545161278034; Tue, 18 Dec 2018 11:27:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545161277; cv=none; d=google.com; s=arc-20160816; b=zneUV88V+lE4k73CYFlw5VxVt2TuGZiqhGQk5eTsS0gVbY5wXJp4FJERN057NQBcH/ LTnxfl2qPgfym8tmVNyevgeOBJk2zVsoaz+RKL4YwPHF4yC1denSe4a1m9OC0n6KwZ4v R677hMjEZZvMu0nvDJrPDknuMjAraiFYRC28SmYHsyfLajMV2CYewsmCfhuPv6BWpGps 68mMFRA0QEPXUnjRgrUzQnjgdHa/VM3vUFDBlsQFWFXncE07/ZyRDszQMVvVzqoQT4oA X6vNr7IWjWVPFL7G35Arqo8qq2k2gGZjGiXCH+aXZu+RMcSBPdNWX6N8bAjfk5x4+5AN XOEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dmarc-filter:dkim-signature :dkim-signature; bh=P6FnNRyPX/zSMTnKTiL8pDpMM4wRTHyXcYy3YCn1398=; b=j6FmSlV6z7FWtfQgkw9A8FiQxzGrQRNAZO9L+RStE9IW0VMhQz4A+CZ0pQiBQ0SuNk /uVHiDyR1XmIVp+F9Kt80FUcMB5W8GhMt1Jv8MStzl7elvEslBQh52p6N+XY9tppxcr2 hvleOt9U188pjziziOtUB4h777xR19EbTdsoFH7NXol2qTcm5P4YYB5ymJGk3zhR9Zf0 9jecTVsbQ302r2K2HDpifzSRqIj7p1syl6tUSz6lu1jEaguKM7RdYJz2pUdf60slbjDg 80m4ZPsMgREuYJdz/jJ0r4DR64jDHrS3TpmnIAWfswulySPUaIyR3+0ai/xsq+ZtoNr8 VZzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b="gu/92RTk"; dkim=pass header.i=@codeaurora.org header.s=default header.b=AUd3U2pd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e4si14000419plk.260.2018.12.18.11.27.41; Tue, 18 Dec 2018 11:27:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b="gu/92RTk"; dkim=pass header.i=@codeaurora.org header.s=default header.b=AUd3U2pd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726973AbeLRRAm (ORCPT + 99 others); Tue, 18 Dec 2018 12:00:42 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:44726 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726422AbeLRRAm (ORCPT ); Tue, 18 Dec 2018 12:00:42 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 1F1C06076A; Tue, 18 Dec 2018 17:00:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1545152441; bh=97s/uwaXgQiS+M+mDMfe0ViAYYmU9l5quClUgsjMwK0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gu/92RTklv0OAXtHMWM9SoKUAKgJRhJr1ZuZHqqB7kQFMAhQ096xxlbrWVyniZK5z nXwL/6/GcDl8b0JpnnlYLCcYKl3APFNRr4WJ2DkrwBAVA6ZU/sICEpbU8GgNFbUvEV sZZ6RSZzDhSiJWdHlRpWy+9oKrDSxJjeGzgiK1V0= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from jcrouse-lnx.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jcrouse@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 37257605A5; Tue, 18 Dec 2018 17:00:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1545152440; bh=97s/uwaXgQiS+M+mDMfe0ViAYYmU9l5quClUgsjMwK0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AUd3U2pdr8b36ifUGqkDFWg4oWSF4jvJlhe+JQg2EEd5ov9q0P/z8/xiJxI6sHxur aRGy1xs+GtyHlsLpGN5URBL/IwTfooMqB7yFwyveznSiPrgGbfrYjYaIjMxuy/RK9N 4LJlT3wUc2ZTHFgJ48JszkkxvLGWmyZtCGnio5K8= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 37257605A5 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=jcrouse@codeaurora.org Date: Tue, 18 Dec 2018 10:00:37 -0700 From: Jordan Crouse To: Jayant Shekhar Cc: dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, abhinavk@codeaurora.org, robdclark@gmail.com, nganji@codeaurora.org, seanpaul@chromium.org, hoegsberg@chromium.org, jsanka@codeaurora.org, chandanu@codeaurora.org Subject: Re: [Freedreno] [v1] drm/msm/dpu: Cleanup dpu plane interface Message-ID: <20181218170036.GB18380@jcrouse-lnx.qualcomm.com> Mail-Followup-To: Jayant Shekhar , dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, abhinavk@codeaurora.org, robdclark@gmail.com, nganji@codeaurora.org, seanpaul@chromium.org, hoegsberg@chromium.org, jsanka@codeaurora.org, chandanu@codeaurora.org References: <1545139238-8395-1-git-send-email-jshekhar@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1545139238-8395-1-git-send-email-jshekhar@codeaurora.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 18, 2018 at 06:50:38PM +0530, Jayant Shekhar wrote: > Remove unused functions from dpu plane interface > and unused variables from dpu plane state structure. > > Signed-off-by: Jayant Shekhar Reviewed-by: Jordan Crouse > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_plane.h | 27 --------------------------- > 1 file changed, 27 deletions(-) > > diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_plane.h b/drivers/gpu/drm/msm/disp/dpu1/dpu_plane.h > index 7fed0b6..0e6063a 100644 > --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_plane.h > +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_plane.h > @@ -28,23 +28,18 @@ > /** > * struct dpu_plane_state: Define dpu extension of drm plane state object > * @base: base drm plane state object > - * @property_state: Local storage for msm_prop properties > - * @property_values: cached plane property values > * @aspace: pointer to address space for input/output buffers > - * @input_fence: dereferenced input fence pointer > * @stage: assigned by crtc blender > * @multirect_index: index of the rectangle of SSPP > * @multirect_mode: parallel or time multiplex multirect mode > * @pending: whether the current update is still pending > * @scaler3_cfg: configuration data for scaler3 > * @pixel_ext: configuration data for pixel extensions > - * @scaler_check_state: indicates status of user provided pixel extension data > * @cdp_cfg: CDP configuration > */ > struct dpu_plane_state { > struct drm_plane_state base; > struct msm_gem_address_space *aspace; > - void *input_fence; > enum dpu_stage stage; > uint32_t multirect_index; > uint32_t multirect_mode; > @@ -107,12 +102,6 @@ void dpu_plane_get_ctl_flush(struct drm_plane *plane, struct dpu_hw_ctl *ctl, > void dpu_plane_flush(struct drm_plane *plane); > > /** > - * dpu_plane_kickoff - final plane operations before commit kickoff > - * @plane: Pointer to drm plane structure > - */ > -void dpu_plane_kickoff(struct drm_plane *plane); > - > -/** > * dpu_plane_set_error: enable/disable error condition > * @plane: pointer to drm_plane structure > */ > @@ -147,14 +136,6 @@ struct drm_plane *dpu_plane_init(struct drm_device *dev, > void dpu_plane_clear_multirect(const struct drm_plane_state *drm_state); > > /** > - * dpu_plane_wait_input_fence - wait for input fence object > - * @plane: Pointer to DRM plane object > - * @wait_ms: Wait timeout value > - * Returns: Zero on success > - */ > -int dpu_plane_wait_input_fence(struct drm_plane *plane, uint32_t wait_ms); > - > -/** > * dpu_plane_color_fill - enables color fill on plane > * @plane: Pointer to DRM plane object > * @color: RGB fill color value, [23..16] Blue, [15..8] Green, [7..0] Red > @@ -164,12 +145,4 @@ struct drm_plane *dpu_plane_init(struct drm_device *dev, > int dpu_plane_color_fill(struct drm_plane *plane, > uint32_t color, uint32_t alpha); > > -/** > - * dpu_plane_set_revalidate - sets revalidate flag which forces a full > - * validation of the plane properties in the next atomic check > - * @plane: Pointer to DRM plane object > - * @enable: Boolean to set/unset the flag > - */ > -void dpu_plane_set_revalidate(struct drm_plane *plane, bool enable); > - > #endif /* _DPU_PLANE_H_ */ > -- > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, > a Linux Foundation Collaborative Project > > _______________________________________________ > Freedreno mailing list > Freedreno@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/freedreno -- The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project