From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Cc: linux-renesas-soc@vger.kernel.org, linux-media@vger.kernel.org,
dri-devel@lists.freedesktop.org
Subject: Re: [PATCH v1 3/3] drm: rcar-du: Remove unused CRTC suspend/resume functions
Date: Fri, 15 Sep 2017 20:06:26 +0300 [thread overview]
Message-ID: <8655239.xm8VQVi7RW@avalon> (raw)
In-Reply-To: <588e2797c3b8c0b966afb549e658e3cd0652a734.1505493461.git-series.kieran.bingham+renesas@ideasonboard.com>
Hi Kieran,
Thank you for the patch.
On Friday, 15 September 2017 19:42:07 EEST Kieran Bingham wrote:
> An early implementation of suspend-resume helpers are available in the
> CRTC module, however they are unused and no longer needed.
>
> With suspend and resume handled by the core DRM atomic helpers, we can
> remove the unused functions.
>
> CC: dri-devel@lists.freedesktop.org
>
> Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
I'll take this in my tree with patch 2/3.
> ---
> drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 35 +---------------------------
> 1 file changed, 35 deletions(-)
>
> diff --git a/drivers/gpu/drm/rcar-du/rcar_du_crtc.c
> b/drivers/gpu/drm/rcar-du/rcar_du_crtc.c index 301ea1a8018e..b492063a6e1f
> 100644
> --- a/drivers/gpu/drm/rcar-du/rcar_du_crtc.c
> +++ b/drivers/gpu/drm/rcar-du/rcar_du_crtc.c
> @@ -557,41 +557,6 @@ static void rcar_du_crtc_stop(struct rcar_du_crtc
> *rcrtc) rcar_du_group_start_stop(rcrtc->group, false);
> }
>
> -void rcar_du_crtc_suspend(struct rcar_du_crtc *rcrtc)
> -{
> - if (rcar_du_has(rcrtc->group->dev, RCAR_DU_FEATURE_VSP1_SOURCE))
> - rcar_du_vsp_disable(rcrtc);
> -
> - rcar_du_crtc_stop(rcrtc);
> - rcar_du_crtc_put(rcrtc);
> -}
> -
> -void rcar_du_crtc_resume(struct rcar_du_crtc *rcrtc)
> -{
> - unsigned int i;
> -
> - if (!rcrtc->crtc.state->active)
> - return;
> -
> - rcar_du_crtc_get(rcrtc);
> - rcar_du_crtc_setup(rcrtc);
> -
> - /* Commit the planes state. */
> - if (!rcar_du_has(rcrtc->group->dev, RCAR_DU_FEATURE_VSP1_SOURCE)) {
> - for (i = 0; i < rcrtc->group->num_planes; ++i) {
> - struct rcar_du_plane *plane = &rcrtc->group->planes[i];
> -
> - if (plane->plane.state->crtc != &rcrtc->crtc)
> - continue;
> -
> - rcar_du_plane_setup(plane);
> - }
> - }
> -
> - rcar_du_crtc_update_planes(rcrtc);
> - rcar_du_crtc_start(rcrtc);
> -}
> -
> /* ------------------------------------------------------------------------
> * CRTC Functions
> */
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2017-09-15 17:06 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-15 16:42 [PATCH v1 0/3] drm/media: Implement DU Suspend and Resume on VSP pipelines Kieran Bingham
2017-09-15 16:42 ` [PATCH v1 1/3] media: vsp1: Prevent resuming DRM pipelines Kieran Bingham
2017-09-15 16:58 ` Laurent Pinchart
2017-09-18 0:04 ` Kieran Bingham
2017-09-19 8:46 ` Laurent Pinchart
2017-09-19 8:46 ` Laurent Pinchart
2017-09-15 16:42 ` [PATCH v1 2/3] drm: rcar-du: Add suspend resume helpers Kieran Bingham
2017-09-15 17:02 ` Laurent Pinchart
2017-09-15 17:02 ` Laurent Pinchart
2017-09-15 17:49 ` Kieran Bingham
2017-09-15 18:20 ` Laurent Pinchart
2017-09-15 18:20 ` Laurent Pinchart
2017-09-15 16:42 ` [PATCH v1 3/3] drm: rcar-du: Remove unused CRTC suspend/resume functions Kieran Bingham
2017-09-15 17:06 ` Laurent Pinchart [this message]
2017-09-20 9:16 ` [PATCH v2] media: vsp1: Prevent suspending and resuming DRM pipelines Kieran Bingham
2017-11-12 16:37 ` [PATCH v2.1] " Kieran Bingham
2017-11-11 16:14 ` [PATCH v2] " Kieran Bingham
2017-11-12 4:28 ` Laurent Pinchart
2017-11-12 16:38 ` Kieran Bingham
2017-11-13 2:16 ` Laurent Pinchart
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8655239.xm8VQVi7RW@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=kieran.bingham+renesas@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.