Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751920AbdCCRXH (ORCPT ); Fri, 3 Mar 2017 12:23:07 -0500 Received: from us01smtprelay-2.synopsys.com ([198.182.60.111]:39277 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751722AbdCCRXE (ORCPT ); Fri, 3 Mar 2017 12:23:04 -0500 Subject: Re: [PATCH v2 1/2] drm: bridge: dw-hdmi: Take input format from plat_data To: Neil Armstrong , Jose Abreu , Laurent Pinchart References: <1488468572-31971-1-git-send-email-narmstrong@baylibre.com> <1488468572-31971-2-git-send-email-narmstrong@baylibre.com> <2768953.c6tz7qsbuQ@avalon> <0ae7ae64-13ad-6691-ada7-7c8f2851b517@baylibre.com> <3898e9a2-a751-abe4-fc31-7de18682c5da@synopsys.com> <7ec0d5dc-a09d-2790-34db-669e87c89fa3@baylibre.com> CC: , , , , From: Jose Abreu Message-ID: <3cadc66c-9ca8-5658-0023-45ad68ca5939@synopsys.com> Date: Fri, 3 Mar 2017 17:22:19 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <7ec0d5dc-a09d-2790-34db-669e87c89fa3@baylibre.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.107.19.51] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 750 Lines: 27 Hi Neil, On 03-03-2017 16:42, Neil Armstrong wrote: > > Sure, I was meaning the *input* format the controller receives from the > pixel encoder, I'm quite sure the format is strict. > Hmm, not quite following you here. As far as the controller goes it supports the formats I mentioned: - 8/10/12/16 bits RGB 4:4:4 - 8/10/12/16 bits YCbCr 4:4:4 - 8/10/12 bits YCbCr 4:2:2 - 8/10/12/16 bits YCbCr 4:2:0 As for the CSC it supports RGB 4:4:4 to/from YCbCr 4:4:4 or 4:2:2 in every defined color depth. So, everything except 4:2:0 (I had to check documentation, I though that CSC supported less formats). Of course this is all limited by the implementation that HW team decides to choose. Best regards, Jose Miguel Abreu