Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp640973imm; Fri, 14 Sep 2018 04:12:41 -0700 (PDT) X-Google-Smtp-Source: ANB0VdauCVkdOQZMI9eCgpubjwfkG+dPde6FGs0U8Sv7AVt1RQY5HjAZlCxAYbeUFPDJsxhCuax+ X-Received: by 2002:a63:706:: with SMTP id 6-v6mr9505507pgh.137.1536923561253; Fri, 14 Sep 2018 04:12:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536923561; cv=none; d=google.com; s=arc-20160816; b=R0wQdn5sQELOKejSdpXj3niI2Adr43aGG1zUgdX63zlxhxoKcpXB3ui8okgvDtihkZ 3RNCeBR4OdAYYu/o0grGi537QHKOq6k+soEOBvL6qoOtWo8F1vz027FVJBg3IZSJEPsD Hf3DV+DoFmofDlaYx9Xb+fN3FnAadh9bO44CsQwxKSf7jHvnS+DJ78PYjKoahuSF/13A 6JXKWG+Sj6gn1J5jdXqVhhyf9OrLY2+lVmfaW0obL8ExMgq8MP1vrMQfFn8Gh2RtphZ3 REutg6Y9149hTOOeFw2o/YL2ymrs1qIut5riJWcCQNE3QMDBa00bKz+f0ypOJYXLcGNZ WDmQ== 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:organization:message-id:date:subject:cc:to :from:dkim-signature; bh=zpZIkqdrCXfPHBDBwjBggr0rAkaYiWR9udXuup+K+Ck=; b=juhhbTObvhB8cWATduOPfE6WVFvTdkjsFFr7lM78BMgiARxna6szEe6GeXk5L4zJhe tKUDovP9rxCDsOPK34ONE90WZAzZEJ9u38zX476yppN8ss05Ics0SFU5BCQDN9Lc5sYp 70RuX1ur5RdxNoVER3DGjmuktnpStjxzlmxYB0yWaolUfxONiXXHRTg9TdLKDnAea47C Fb15qo10wMLCc9Bs5ZDHqENcZl/b1gpNpyLHbL2R+6M3M+oOZq0jw3OBShONZycsWxeH jm7LnohGKOZjKwhaPPNlftxZmLbTofItUZnjNn2tMPTTUFaEzOqNSQCsbAbCB0lz2see UGZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=DNoCGumG; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n8-v6si7017704pgl.101.2018.09.14.04.12.25; Fri, 14 Sep 2018 04:12:41 -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; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=DNoCGumG; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727847AbeINQZC (ORCPT + 99 others); Fri, 14 Sep 2018 12:25:02 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:34780 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726695AbeINQZC (ORCPT ); Fri, 14 Sep 2018 12:25:02 -0400 Received: from avalon.localnet (unknown [IPv6:2a02:a03f:44f6:3500:d929:375b:d608:66c7]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id C6119CE; Fri, 14 Sep 2018 13:10:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1536923459; bh=077zV60B+At60Es8WN0B+Sp8TWiPgKQmcp8PGR3Sn28=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DNoCGumGnE5H/botUiAsZt9eBWeNxbkgD/7u8LnF0qlXpYLT5NTNGvE//GeoOnN5P jRyZuvv7hWHkGZ7GGImZQWJuBBrxY0mGriGih2B4kAwhoPbYKzWmA/MXFW+W4kDbYw s6uZ+QG4C2osYYJNluqYN9/YsNY4NsZofVMwwlG8= From: Laurent Pinchart To: Kieran Bingham Cc: David Airlie , dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Koji Matsuoka Subject: Re: [PATCH 2/3] drm: rcar-du: Add pixel format support Date: Fri, 14 Sep 2018 14:11:13 +0300 Message-ID: <9318122.8LJjaKzHaP@avalon> Organization: Ideas on Board Oy In-Reply-To: <20180831181259.29529-3-kieran.bingham+renesas@ideasonboard.com> References: <20180831181259.29529-1-kieran.bingham+renesas@ideasonboard.com> <20180831181259.29529-3-kieran.bingham+renesas@ideasonboard.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 Kieran, Thank you for the patch. How about renaming the subject line to "Add support for missing pixel formats" ? On Friday, 31 August 2018 21:12:58 EEST Kieran Bingham wrote: > From: Koji Matsuoka > > This patch supports pixel format of RGB332, ARGB4444, XRGB4444, > BGR888, RGB888, BGRA8888, BGRX8888 and YVYU. > VYUY pixel format is not supported by H/W specification. > > Signed-off-by: Koji Matsuoka > Signed-off-by: Kieran Bingham > > --- > > This patch does not remove existing support for multiplanar YVUY, even > though the hardware does not explicitly provide it, because we support > it through software by swapping the plane buffers. > > drivers/gpu/drm/rcar-du/rcar_du_kms.c | 32 +++++++++++++++++++++++++++ > 1 file changed, 32 insertions(+) > > diff --git a/drivers/gpu/drm/rcar-du/rcar_du_kms.c > b/drivers/gpu/drm/rcar-du/rcar_du_kms.c index 7c7aff8cdf77..d1bd174ec893 > 100644 > --- a/drivers/gpu/drm/rcar-du/rcar_du_kms.c > +++ b/drivers/gpu/drm/rcar-du/rcar_du_kms.c > @@ -124,6 +124,38 @@ static const struct rcar_du_format_info > rcar_du_format_infos[] = { .fourcc = DRM_FORMAT_YVU444, > .bpp = 24, > .planes = 3, > + }, { > + .fourcc = DRM_FORMAT_RGB332, > + .bpp = 8, > + .planes = 1, > + }, { > + .fourcc = DRM_FORMAT_ARGB4444, > + .bpp = 16, > + .planes = 1, > + }, { > + .fourcc = DRM_FORMAT_XRGB4444, > + .bpp = 16, > + .planes = 1, > + }, { > + .fourcc = DRM_FORMAT_BGR888, > + .bpp = 24, > + .planes = 1, > + }, { > + .fourcc = DRM_FORMAT_RGB888, > + .bpp = 24, > + .planes = 1, > + }, { > + .fourcc = DRM_FORMAT_BGRA8888, > + .bpp = 32, > + .planes = 1, > + }, { > + .fourcc = DRM_FORMAT_BGRX8888, > + .bpp = 32, > + .planes = 1, > + }, { > + .fourcc = DRM_FORMAT_YVYU, > + .bpp = 16, > + .planes = 1, > }, > }; I would list the RGB formats first, followed by the packed YUV format, and then the multiplanar YUV formats. With this changed, Reviewed-by: Laurent Pinchart If you're fine with the changes there's no need to resubmit. -- Regards, Laurent Pinchart