Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3956562ybi; Mon, 27 May 2019 08:33:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqxhUXssSJW6t2KPP7+bR/t5PCdju8Ke9Kv4Kh4tGZLu0u6SjxOWtITYdiVOJrbR4MwQembY X-Received: by 2002:aa7:930e:: with SMTP id 14mr78663471pfj.262.1558971180385; Mon, 27 May 2019 08:33:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558971180; cv=none; d=google.com; s=arc-20160816; b=rU9MLlYsvR6dFGyliRwu7rCOggIQ7do24Wa6jWuNOYkW6IjZChnB3LCOp+oH8YBEi9 4tPKyAzm0GaZAsewi4yvg+KCFo0+icd7Y+JlSLpa5wSNK+8E8P1LrIJvCCWWV3Mss0zk BBt5K6CngC4/vDfyoo3D9O66Tj2n7Y+U//9QKW9cmNjbLb7/YofCZPS3A5km/GLuPxhu /LlSLFSVcjdxUvaprUDY+jHD9/KV1K07+1qP7BnJUFfEic7ON4B7Bbfk7/sp2IpEb8N/ yh0vQpqjTV+xfj+CLSRCQvR8J5v+RGe2xkSl+kwo8lY8CRwhcdGL1D27W/GJTthOUy78 7YSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=HbMDbswdhBLex6wJzcPnxPUlSYhIepbDmGTEAg2l0pc=; b=m3lPLV92NRNrPk1WXihpvkgbhr1F1MgmIGnuWZxJYUB006DVRFi14cBCc7uAHOWuNs PRQzphMUJdb9JaU46XgcbNxyBmcc4jHuAW/c9ZaLICQ3biXrsG0jIxhGP67nfsg2O03m 5Wh7KWUzDrKO1fsm9kVYBrMM017wPbhcJAl3C4Sx68K2z5WMw/2ZoRgb+EHK1ebyc7LG e4dhWnycwXPUIxdvZCsBTUoB7XQ1B3OKN38lyjv7lZ7BHcYGWkveT0fiAa1JUaTIxt2c nwkZ0mTbykkY9IIvzgGlKoPFCVBeMhGiBY2u/MBSHg1eBWhK42FqjPyjRG6RlEm/9gN8 IhQQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siol.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d23si17100194pgh.448.2019.05.27.08.32.44; Mon, 27 May 2019 08:33:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siol.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726432AbfE0P3k (ORCPT + 99 others); Mon, 27 May 2019 11:29:40 -0400 Received: from mailoutvs31.siol.net ([185.57.226.222]:38439 "EHLO mail.siol.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726276AbfE0P3k (ORCPT ); Mon, 27 May 2019 11:29:40 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTP id AB104520C06; Mon, 27 May 2019 17:29:36 +0200 (CEST) X-Virus-Scanned: amavisd-new at psrvmta09.zcs-production.pri Received: from mail.siol.net ([127.0.0.1]) by localhost (psrvmta09.zcs-production.pri [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id D9ETVfFkE8JX; Mon, 27 May 2019 17:29:36 +0200 (CEST) Received: from mail.siol.net (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTPS id 5733A5217BC; Mon, 27 May 2019 17:29:36 +0200 (CEST) Received: from jernej-laptop.localnet (cpe-86-58-52-202.static.triera.net [86.58.52.202]) (Authenticated sender: jernej.skrabec@siol.net) by mail.siol.net (Postfix) with ESMTPA id 9F19C520C06; Mon, 27 May 2019 17:29:33 +0200 (CEST) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: Neil Armstrong Cc: a.hajda@samsung.com, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, hverkuil@xs4all.nl, dri-devel@lists.freedesktop.org, heiko@sntech.de, maxime.ripard@bootlin.com, hjc@rock-chips.com, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/5] drm/bridge: add encoder support to specify bridge input format Date: Mon, 27 May 2019 17:29:33 +0200 Message-ID: <2679412.W4MLjRXsPJ@jernej-laptop> In-Reply-To: <20190520133753.23871-3-narmstrong@baylibre.com> References: <20190520133753.23871-1-narmstrong@baylibre.com> <20190520133753.23871-3-narmstrong@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! Thanks for working on this! Dne ponedeljek, 20. maj 2019 ob 15:37:50 CEST je Neil Armstrong napisal(a): > This patch adds a new format_set() callback to the bridge ops permitting > the encoder to specify the new input format and encoding. > > This allows supporting the very specific HDMI2.0 YUV420 output mode > when the bridge cannot convert from RGB or YUV444 to YUV420. > > In this case, the encode must downsample before the bridge and must > specify the bridge the new input bus format differs. > > This will also help supporting the YUV420 mode where the bridge cannot > downsample, and also support 10bit, 12bit and 16bit output modes > when the bridge cannot convert between different bit depths. > > Signed-off-by: Neil Armstrong > --- Reviewed-by: Jernej Skrabec Best regards, Jernej