From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Neil Armstrong <narmstrong@baylibre.com>
Cc: dri-devel@lists.freedesktop.org,
laurent.pinchart+renesas@ideasonboard.com,
architt@codeaurora.org, Jose.Abreu@synopsys.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] drm: bridge: dw-hdmi: remove unused hdmi_bus_fmt_is_yuv420
Date: Wed, 05 Apr 2017 11:14:52 +0300 [thread overview]
Message-ID: <1867549.4Y9HFCsCxn@avalon> (raw)
In-Reply-To: <1491377579-9353-1-git-send-email-narmstrong@baylibre.com>
Hi Neil,
Thank you for the patch.
On Wednesday 05 Apr 2017 09:32:59 Neil Armstrong wrote:
> Remove usused yet hdmi_bus_fmt_is_yuv420 function.
>
> Fixes: def23aa7e982 ("drm: bridge: dw-hdmi: Switch to V4L bus format and
> encodings") Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
> drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 14 --------------
> 1 file changed, 14 deletions(-)
>
> diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
> b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c index 84cc949..7dd6699 100644
> --- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
> +++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
> @@ -605,20 +605,6 @@ static bool hdmi_bus_fmt_is_yuv422(unsigned int
> bus_format) }
> }
>
> -static bool hdmi_bus_fmt_is_yuv420(unsigned int bus_format)
> -{
> - switch (bus_format) {
> - case MEDIA_BUS_FMT_UYYVYY8_0_5X24:
> - case MEDIA_BUS_FMT_UYYVYY10_0_5X30:
> - case MEDIA_BUS_FMT_UYYVYY12_0_5X36:
> - case MEDIA_BUS_FMT_UYYVYY16_0_5X48:
> - return true;
> -
> - default:
> - return false;
> - }
> -}
> -
> static int hdmi_bus_fmt_color_depth(unsigned int bus_format)
> {
> switch (bus_format) {
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2017-04-05 8:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-05 7:32 Neil Armstrong
2017-04-05 8:14 ` Laurent Pinchart [this message]
2017-04-06 8:59 ` Neil Armstrong
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=1867549.4Y9HFCsCxn@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=Jose.Abreu@synopsys.com \
--cc=architt@codeaurora.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=laurent.pinchart+renesas@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=narmstrong@baylibre.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
all inboxes | Powered by JetHome®