diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2017-04-05 09:32:59 +0200 |
---|---|---|
committer | Neil Armstrong <narmstrong@baylibre.com> | 2017-04-06 10:44:25 +0200 |
commit | 4c67b20c98a1a711cc010bff4927129d82a851c7 (patch) | |
tree | ddab973f1de0d894714c321e7f0bd40619263168 | |
parent | drm/fb-helper: Extract _legacy kms functions (diff) | |
download | linux-4c67b20c98a1a711cc010bff4927129d82a851c7.tar.xz linux-4c67b20c98a1a711cc010bff4927129d82a851c7.zip |
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.c | 14 |
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) } } -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) { |