From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Jyri Sarha <jsarha@ti.com>, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 2/6] drm/omap: remove unused ovl_enabled()
Date: Mon, 08 May 2017 17:23:51 +0300 [thread overview]
Message-ID: <2610651.3DbYJAxgWF@avalon> (raw)
In-Reply-To: <1493288874-26654-3-git-send-email-tomi.valkeinen@ti.com>
Hi Tomi,
Thank you for the patch.
On Thursday 27 Apr 2017 13:27:50 Tomi Valkeinen wrote:
> ovl_enabled() is not used anywhere, so remove it.
>
> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
> drivers/gpu/drm/omapdrm/dss/dispc.c | 6 ------
> drivers/gpu/drm/omapdrm/dss/omapdss.h | 1 -
> 2 files changed, 7 deletions(-)
>
> diff --git a/drivers/gpu/drm/omapdrm/dss/dispc.c
> b/drivers/gpu/drm/omapdrm/dss/dispc.c index 5ac0145fbae6..9fba92973d0e
> 100644
> --- a/drivers/gpu/drm/omapdrm/dss/dispc.c
> +++ b/drivers/gpu/drm/omapdrm/dss/dispc.c
> @@ -2935,11 +2935,6 @@ static int dispc_ovl_enable(enum omap_plane_id plane,
> bool enable) return 0;
> }
>
> -static bool dispc_ovl_enabled(enum omap_plane_id plane)
> -{
> - return REG_GET(DISPC_OVL_ATTRIBUTES(plane), 0, 0);
> -}
> -
> static enum omap_dss_output_id dispc_mgr_get_supported_outputs(enum
> omap_channel channel) {
> return dss_feat_get_supported_outputs(channel);
> @@ -4377,7 +4372,6 @@ static const struct dispc_ops dispc_ops = {
> .mgr_set_gamma = dispc_mgr_set_gamma,
>
> .ovl_enable = dispc_ovl_enable,
> - .ovl_enabled = dispc_ovl_enabled,
> .ovl_set_channel_out = dispc_ovl_set_channel_out,
> .ovl_setup = dispc_ovl_setup,
> .ovl_get_color_modes = dispc_ovl_get_color_modes,
> diff --git a/drivers/gpu/drm/omapdrm/dss/omapdss.h
> b/drivers/gpu/drm/omapdrm/dss/omapdss.h index b19dae1fd6c5..d9ad33df0455
> 100644
> --- a/drivers/gpu/drm/omapdrm/dss/omapdss.h
> +++ b/drivers/gpu/drm/omapdrm/dss/omapdss.h
> @@ -913,7 +913,6 @@ struct dispc_ops {
> unsigned int length);
>
> int (*ovl_enable)(enum omap_plane_id plane, bool enable);
> - bool (*ovl_enabled)(enum omap_plane_id plane);
> void (*ovl_set_channel_out)(enum omap_plane_id plane,
> enum omap_channel channel);
> int (*ovl_setup)(enum omap_plane_id plane,
--
Regards,
Laurent Pinchart
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2017-05-08 14:23 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-27 10:27 [PATCH 0/6] drm/omap: misc changes Tomi Valkeinen
2017-04-27 10:27 ` [PATCH 1/6] drm/omap: add new connector types Tomi Valkeinen
2017-05-08 14:21 ` Laurent Pinchart
2017-05-08 14:35 ` Tomi Valkeinen
2017-05-08 16:21 ` Laurent Pinchart
2017-05-09 6:57 ` Tomi Valkeinen
2017-05-09 7:16 ` [PATCH 1/6 v2] " Tomi Valkeinen
2017-05-09 7:36 ` Jyri Sarha
2017-05-09 7:41 ` Tomi Valkeinen
2017-05-09 22:35 ` Laurent Pinchart
2017-05-10 6:59 ` Tomi Valkeinen
2017-04-27 10:27 ` [PATCH 2/6] drm/omap: remove unused ovl_enabled() Tomi Valkeinen
2017-05-08 14:23 ` Laurent Pinchart [this message]
2017-04-27 10:27 ` [PATCH 3/6] drm/omap: remove ovl_set_channel_out Tomi Valkeinen
2017-05-08 14:26 ` Laurent Pinchart
2017-05-09 7:12 ` Tomi Valkeinen
2017-04-27 10:27 ` [PATCH 4/6] drm/omap: remove read_irqenable() Tomi Valkeinen
2017-05-08 14:28 ` Laurent Pinchart
2017-04-27 10:27 ` [PATCH 5/6] drm/omap: 64bit compile fixes Tomi Valkeinen
2017-05-08 14:29 ` Laurent Pinchart
2017-04-27 10:27 ` [PATCH 6/6] drm/omap: define compat_ioctl Tomi Valkeinen
2017-05-08 14:32 ` 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=2610651.3DbYJAxgWF@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=jsarha@ti.com \
--cc=tomi.valkeinen@ti.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox