drm: bridge: dw-hdmi: Enable CSC even for DVI
authorNeil Armstrong <narmstrong@baylibre.com>
Fri, 3 Mar 2017 17:20:00 +0000 (19:20 +0200)
committerArchit Taneja <architt@codeaurora.org>
Fri, 10 Mar 2017 08:54:17 +0000 (14:24 +0530)
commit14247d7ce769cfc2269a8b6a58157abb26813f3e
treec7fd72575d5c913c1126c73d3812bfd7990f1de8
parent8b9e1c0de3d81c7b2118f8c403a84fad758c3305
drm: bridge: dw-hdmi: Enable CSC even for DVI

If the input pixel format is not RGB, the CSC must be enabled in order to
provide valid pixel to DVI sinks.
This patch removes the hdmi only dependency on the CSC enabling.

Reviewed-by: Jose Abreu <joabreu@synopsys.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Tested-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20170303172007.26541-4-laurent.pinchart+renesas@ideasonboard.com
drivers/gpu/drm/bridge/dw-hdmi.c