Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3855557imu; Tue, 18 Dec 2018 05:23:37 -0800 (PST) X-Google-Smtp-Source: AFSGD/W3WG0/aymrmt9RcwM69uJm1CymczKd2T4MWRCbtIzE6/Fg/Xfn1TY4FUYAk1MiOdzAASP1 X-Received: by 2002:a62:184e:: with SMTP id 75mr16297684pfy.28.1545139417727; Tue, 18 Dec 2018 05:23:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545139417; cv=none; d=google.com; s=arc-20160816; b=DTJJSiUV5uP3HA+ot/Yv+88QiS06Ze6/Lpnqs1y8ajjv3FcJnIO7sawDc3/NOwvsHz +3Aa6rlu9vf+Fh9sJ+dud119O4wBjzomO1gF8xeiQtHY7O7VsQ79Afc8o8tmdPro0r9k vngxw2E5ro3zcEbJc+6fOE4UeyFNDG7b6LCEwLmIJXzacE5yyQv+UWotYHeVVF/+dc9m ERSCjHTh5Gpr47Iw27tSbetpLwpnnxovG6ymDhui8vwFs8hmnM++qiI+jy7ecT1r8BDt CUv2R6BbJUYV9eiw2LYUM4R2Qrc7AWEmeV1UFkWb4U3blCKmcJ5yXTvhex+fXhUaZNz/ OsqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dmarc-filter:dkim-signature:dkim-signature; bh=xCIqSW0B5DrDtSswwz4FBN/lV87+DLU8m7rWugN1zXE=; b=lES29RS/sUjsSjRlkWqUFkAdfnKil/NuPiEEgB9HWTs3mRk6MMWj17hW6WtnyeH23j TRM9YNQqHMYVg/9m36y37w7yG7uNOKCEtVu/37XVep5nYQxrFH0fWinzm4SYs7nybPp2 duVSJf173ze4wy8xTtTfbe3E4ahf5gmn7mkYhuINpOPkZd/HHssO6Spd6jNYbOEu46yL 3jiuh119QO/9qFgwmDZo196lzYl8Y5C6ve1ipgL23CPjhKSUtUQ7EDX+somrYJT9qMXk P9BWsuVxn6w67LovGRlZu3UWnYg8e4mWZU2qVsHJFQAW8CTxjJ6LPOyKmJJwTPyOox8H /ztw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=Hkj6++zB; dkim=pass header.i=@codeaurora.org header.s=default header.b=f+irQZoU; 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 o10si12816617pls.76.2018.12.18.05.23.22; Tue, 18 Dec 2018 05:23:37 -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=Hkj6++zB; dkim=pass header.i=@codeaurora.org header.s=default header.b=f+irQZoU; 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 S1726780AbeLRNUw (ORCPT + 99 others); Tue, 18 Dec 2018 08:20:52 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:43016 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726541AbeLRNUv (ORCPT ); Tue, 18 Dec 2018 08:20:51 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id A2FD16055D; Tue, 18 Dec 2018 13:20:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1545139250; bh=g3U7D0L+deq4hbQz39ZT8YymJjn28eUazyvenMwPhPw=; h=From:To:Cc:Subject:Date:From; b=Hkj6++zBxqB8xBNUTicdVOpcQfin2mfPzVUmB8QT2VvNNIwjiuksv2E3FsY8Nie35 E6y+oY6cX7mU07FQAskgc74OFmuVA1M8tZqZWuhd1l161lNHGm8a+RnOjxeO4OfluI mAtYp9XNHxLvE7ihvbHLP5AWpL6TNbJZ0JaaBS48= 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 jshekhar-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jshekhar@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 5EB036055D; Tue, 18 Dec 2018 13:20:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1545139249; bh=g3U7D0L+deq4hbQz39ZT8YymJjn28eUazyvenMwPhPw=; h=From:To:Cc:Subject:Date:From; b=f+irQZoUtBQo7O387mLCZKBDBgbtVZ/IjKbs78EjUsyYOomMuFRCmhKhCwPlCEjrM j6ARMeS4Z2iziS6+xr0ct+2Cz/fhDOt3CD1Je0D+ptuh5wZH4H+FbFBhSqb6hDnA1C JX491P6xHrnm0yNIZG/YvupUtBVssu9V/3NA0n7A= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 5EB036055D 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=jshekhar@codeaurora.org From: Jayant Shekhar To: dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org Cc: Jayant Shekhar , linux-kernel@vger.kernel.org, robdclark@gmail.com, seanpaul@chromium.org, hoegsberg@chromium.org, abhinavk@codeaurora.org, jsanka@codeaurora.org, chandanu@codeaurora.org, nganji@codeaurora.org Subject: [v1] drm/msm/dpu: Cleanup dpu plane interface Date: Tue, 18 Dec 2018 18:50:38 +0530 Message-Id: <1545139238-8395-1-git-send-email-jshekhar@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove unused functions from dpu plane interface and unused variables from dpu plane state structure. Signed-off-by: Jayant Shekhar --- 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