Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp828945imm; Fri, 14 Sep 2018 07:01:08 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbQgw6US6bzgYYzYE3Aun6QicxsLmAn+Ajn3yLqa4ABXWJLWRUHw3VNa0UJe7SdSQ2eFnK4 X-Received: by 2002:a62:c182:: with SMTP id i124-v6mr12716979pfg.248.1536933668527; Fri, 14 Sep 2018 07:01:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536933668; cv=none; d=google.com; s=arc-20160816; b=HXh0+2FZAB2BUw1SHAXcJJqGazcQ4ALMyTLCQqwjnMi9qj9xHDcll6k11w3XBtbGU0 rJDXQG/Uy7B//hnTt8uT1fjjP/o4c1FIpyh+j7Q4CON7kzvlYLNdNIGHLaSixwL+vfJ4 FOyDTA+f4JKvhhdH97gAg4hpI6ODiVbFwk8PlVztdIGS4br+YsQSsmkG65CP7uzfSigm wXJSLbC6oLN/SUlowVXlAX5FRLHam1JiO8mMArf7nuTBqPs/hwhUN94g1dRNW7njEllI +Zggqqp5o+qBg5bXUyIoRHR/w+VjESbwCV/4oA0+Y+4nWWjZ4FvM8McD2JxFdBgYov4e Dr0Q== 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=gTkqcO4DSt3QR95NF1/05Hp03vLShG5p1xHLWC7zeb4=; b=agjsvxA0UlMpGqqO30Vj92iOcse9vtGoLypi4E7bSiuwyEycwm58iJbwevHDbCqenu uTp6AcNFwwYNTkvg/YM+iHvN4vffpDpcQ9pDvUhyP7MvdzUoGW/n/nmZD6oOyXDLOiIz h7mD/qDzqOv7jnVRisLT6J58tSo3ZJ2rX6mZpPWR3ZM/EGL409fEjWg4slJUqgzS93P4 x7mCpeF0s93/EgxEnHlmmXcFZitiV+G0IArHxFcyXJl3mdJyQUWZbb2B1+6wTIrh7Y3+ ZV8uPgebZ9/6udoX2J9Ltqp1BALkBnRxUZ0yKsUSHLS5EkuHy4NGRsbEICoMPJ5tUJiR 5epA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=OXrmVEoV; 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 x24-v6si7226327pln.465.2018.09.14.07.00.45; Fri, 14 Sep 2018 07:01:08 -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=OXrmVEoV; 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 S1727992AbeINTPK (ORCPT + 99 others); Fri, 14 Sep 2018 15:15:10 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:36460 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727013AbeINTPK (ORCPT ); Fri, 14 Sep 2018 15:15:10 -0400 Received: from avalon.localnet (unknown [IPv6:2a02:a03f:44f6:3500:d929:375b:d608:66c7]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id D2C97CE; Fri, 14 Sep 2018 16:00:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1536933630; bh=R5FIxCn7qs28aGR7md6Iz7EejI3r0BllKliJsZ8pcFU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OXrmVEoVww3K2VQSuS4pprNbJNKUV89MXB9W+4n5zsDvuK22IVfDc76GgwqmT6V6y TubjJzXRHilTFo9E+w8Q4Lzre1OpR2dm7dWPoDIBQu48RgdzroDjPxpwsH+c87V9XN UQAxvbz40aJ04Mrnq6sJ+kiIOv3IFMz5WeJPdz7k= From: Laurent Pinchart To: kieran.bingham+renesas@ideasonboard.com Cc: David Airlie , dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm: rcar-du: Remove packed VYUY support Date: Fri, 14 Sep 2018 17:00:43 +0300 Message-ID: <2071986.YnXjGQr2Jv@avalon> Organization: Ideas on Board Oy In-Reply-To: <7d2740f2-923c-4b5d-0d1e-c24fb4a8bceb@ideasonboard.com> References: <20180914132149.26354-1-kieran.bingham+renesas@ideasonboard.com> <1759929.4apJ9N5u4E@avalon> <7d2740f2-923c-4b5d-0d1e-c24fb4a8bceb@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, On Friday, 14 September 2018 16:55:38 EEST Kieran Bingham wrote: > On 14/09/18 14:51, Laurent Pinchart wrote: > > On Friday, 14 September 2018 16:21:49 EEST Kieran Bingham wrote: > >> The Gen3 VSP used by the DU for display does not support packed the VYUY > >> pixel format. Gen2 VSP hardware is able to process this format, but it > >> is not officially supported there either and thus it's output can not be > >> guaranteed. > > > > I think we could guarantee proper operation on Gen2, but as DU + VSP > > operation isn't enabled in the drivers by default, and as the VYUY format > > isn't a strategic target, I think we can ignore that. > > > > How about updating the commit message as follows ? > > > > "The Gen3 VSP used by the DU for display does not support packed the VYUY > > s/packed the/the packed/ > > Which was a fault in my original text :) > > > pixel format. Gen2 VSP hardware is able to process this format, but DU + > > VSP operation isn't enabled on Gen2, and VYUY isn't a strategic format, > > so it can be ignored." > > That sounds fine to me, though I don't think we would even need to state > that 'VYUY isn't a strategic format' once it's simply not available on > the only platform that is enabled to use the VSP. But I don't object to > stating it otherwise. It could be enabled in the drivers (I have out-of-tree patches for testing purpose), so the fact that we don't need the format is still important I think. > >> Remove the format from the capabilities of the DU driver. > >> > >> Signed-off-by: Kieran Bingham > > > > Reviewed-by: Laurent Pinchart > > > >> --- > >> > >> drivers/gpu/drm/rcar-du/rcar_du_vsp.c | 2 -- > >> 1 file changed, 2 deletions(-) > >> > >> diff --git a/drivers/gpu/drm/rcar-du/rcar_du_vsp.c > >> b/drivers/gpu/drm/rcar-du/rcar_du_vsp.c index 4480243813ec..4576119e7777 > >> 100644 > >> --- a/drivers/gpu/drm/rcar-du/rcar_du_vsp.c > >> +++ b/drivers/gpu/drm/rcar-du/rcar_du_vsp.c > >> @@ -126,7 +126,6 @@ static const u32 formats_kms[] = { > >> DRM_FORMAT_ARGB8888, > >> DRM_FORMAT_XRGB8888, > >> DRM_FORMAT_UYVY, > >> - DRM_FORMAT_VYUY, > >> DRM_FORMAT_YUYV, > >> DRM_FORMAT_YVYU, > >> DRM_FORMAT_NV12, > >> @@ -155,7 +154,6 @@ static const u32 formats_v4l2[] = { > >> V4L2_PIX_FMT_ABGR32, > >> V4L2_PIX_FMT_XBGR32, > >> V4L2_PIX_FMT_UYVY, > >> - V4L2_PIX_FMT_VYUY, > >> V4L2_PIX_FMT_YUYV, > >> V4L2_PIX_FMT_YVYU, > >> V4L2_PIX_FMT_NV12M, -- Regards, Laurent Pinchart