Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp759751imm; Fri, 14 Sep 2018 06:03:02 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaOiT3wS2gxacHM3dd7eJ55sFU2kS0NsJ4kWDF6Elb5G7aV4cpFF1jtKAQPY8gjc850Atta X-Received: by 2002:a63:586:: with SMTP id 128-v6mr11858834pgf.169.1536930182824; Fri, 14 Sep 2018 06:03:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536930182; cv=none; d=google.com; s=arc-20160816; b=tHuwizIp3Hx5ove7yjY9LjOwKqCmJaignY1vuNJj8wpMSIjVajK0RDV+++PqANra+l EBmcbMyOnBEeqjMeBI5EdayzPYsp9e0ck4A/enI3Yvrv+HhbZQsirLurZz4xaG1libZh gLw0hmIMZMtniw+JGJ8JXrXeE8nlL8xTf4FqmV7m69hZZA8tfk8sHUk6gCr0+wUzfmb/ tpWFIHGkAk7YceqZbAT4ellLiF6C6CX59j41dhp9SZ+M7aGw7TNU2r5Qhg34C1FCmfEN DoFDbyPN9CE1/9emhMmm110g5YxE3c4KuLpV520nQeSnznj9OqZrwWRxKXG7K6DSWZnp cOPg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject:reply-to :dkim-signature; bh=Hcj7QpHwdGxj+tIvs4Se+k61mPEJ7IjEbCVeji7O5oQ=; b=hoWlNd8ORhU+OKr2NG+p79cxQWgoua5du8fDItqyBzzW9/pC0qKdOVjRACt8ScW98S t0QShU2h/JjrYZ4pHDKnbFjiJ7rTlp5T2uVgbEaf+Tcsa10R0MUSoxh5Gjbg7T/hd6Nv sexk49PAdXHi/swHH6S3crY7cqFd+DzOjrGejQmnhf7jmOaJyYG72l3pWT6XL8v/b9Dz r70OjU3CCBk1+licjn3cJIlgLtmiWk4TQJoZiaqayAQ4feKHwVaNoTW4LOiLtjSYLcIn EvGhBTlPLkTe4EEH2fFxvS8zJYtLnDAOtYgUBF3nwv6cbqEceHeoDQDkamdrY88cDzcl gMjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=OWMfxOBi; 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 z73-v6si6943142pgd.471.2018.09.14.06.02.46; Fri, 14 Sep 2018 06:03:02 -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=OWMfxOBi; 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 S1728038AbeINSQi (ORCPT + 99 others); Fri, 14 Sep 2018 14:16:38 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:35844 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727013AbeINSQi (ORCPT ); Fri, 14 Sep 2018 14:16:38 -0400 Received: from [192.168.0.23] (cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 5A681CE; Fri, 14 Sep 2018 15:02:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1536930132; bh=ErlC2AmuISSvKzOqr4aFhboQ8wun04npQwOxsuhtFoA=; h=Reply-To:Subject:To:Cc:References:From:Date:In-Reply-To:From; b=OWMfxOBihP8Do6iPiFtTRUlitz35ldK3Ymd+J/5ciiw6ql+fvkgTdEp9YSmpU9noJ Wf1CQkHjvqVrxSzlFceYFXTWpMFrYB/CJdLjGvn16WCv/wgAzlI0My59/oxrdIsglH OJXyYK7ujr0+5RZoOd//C7PMrPEoi7aIQx42vyT0= Reply-To: kieran.bingham+renesas@ideasonboard.com Subject: Re: [PATCH 2/3] drm: rcar-du: Add pixel format support To: Laurent Pinchart Cc: David Airlie , dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Koji Matsuoka References: <20180831181259.29529-1-kieran.bingham+renesas@ideasonboard.com> <20180831181259.29529-3-kieran.bingham+renesas@ideasonboard.com> <9318122.8LJjaKzHaP@avalon> From: Kieran Bingham Organization: Ideas on Board Message-ID: Date: Fri, 14 Sep 2018 14:02:09 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <9318122.8LJjaKzHaP@avalon> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Laurent, On 14/09/18 12:11, Laurent Pinchart wrote: > Hi Kieran, > > Thank you for the patch. > > How about renaming the subject line to "Add support for missing pixel formats" > ? > Ack. > 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, > Ack. > Reviewed-by: Laurent Pinchart > > If you're fine with the changes there's no need to resubmit. That's fine by me. Thanks -- Kieran