aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2017-04-05 03:32:59 -0400
committerNeil Armstrong <narmstrong@baylibre.com>2017-04-06 04:44:25 -0400
commit4c67b20c98a1a711cc010bff4927129d82a851c7 (patch)
treeddab973f1de0d894714c321e7f0bd40619263168
parent7128645d5c647ba3fe1684f2d5710ee403babca2 (diff)
drm: bridge: dw-hdmi: remove unused hdmi_bus_fmt_is_yuv420
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> Link: http://patchwork.freedesktop.org/patch/msgid/1491377579-9353-1-git-send-email-narmstrong@baylibre.com
-rw-r--r--drivers/gpu/drm/bridge/synopsys/dw-hdmi.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
index 84cc949eae2b..7dd669945b55 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)
605 } 605 }
606} 606}
607 607
608static bool hdmi_bus_fmt_is_yuv420(unsigned int bus_format)
609{
610 switch (bus_format) {
611 case MEDIA_BUS_FMT_UYYVYY8_0_5X24:
612 case MEDIA_BUS_FMT_UYYVYY10_0_5X30:
613 case MEDIA_BUS_FMT_UYYVYY12_0_5X36:
614 case MEDIA_BUS_FMT_UYYVYY16_0_5X48:
615 return true;
616
617 default:
618 return false;
619 }
620}
621
622static int hdmi_bus_fmt_color_depth(unsigned int bus_format) 608static int hdmi_bus_fmt_color_depth(unsigned int bus_format)
623{ 609{
624 switch (bus_format) { 610 switch (bus_format) {