Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp539986img; Mon, 18 Mar 2019 08:41:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqwMnEJcFOgxWwJ1CEkegh/TRLgpQMDGzMiEfvrAFAlKBCI8UM0pmBkWzFxuWlgDZI7D3T68 X-Received: by 2002:a62:5c4:: with SMTP id 187mr19550099pff.153.1552923700894; Mon, 18 Mar 2019 08:41:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552923700; cv=none; d=google.com; s=arc-20160816; b=ZzsY2WCXd4iz/WX0GBNKJRUm/toCb49DqCklbZFdcHknH8FRkVI2uYoXxKkF9Wfvcz BgvLmSu/eP6Tv1y/ByOeUKCqLsRlAjilxs0bsqaP6UNWNqbfc2rVDE3yiOx1s91cuVbd ILD2NyiiMhI3eP46cd81v6/6nq8Y96/65dUSewNmiFiHe9qU97qE3EW3x2blRnOaqQXp 9m461p8db/l9L+jP1D9NE+AkrsTruch05HJOtgfFSQXcbPwfI7QzVtiuzeKnBOZdjbUW nyy0Yk0gtz1g+a4HodcZsXNLFWooP7bBMoO1WOV+ymVfffhV0g5/f0F38E6r/aGYWohO 1Gmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:nodisclaimer:user-agent:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from:dkim-signature; bh=4uSxtNUSAj8VDMqVARMuCCZdDPQTSFuMGuLncn5xIyA=; b=HDFIEm3cIzoTDwwSNBqCmbODdjQWHxdLLZcoa4cNPRW2NgNJ+sry6ZsiS3AVqQJn2E mv9UKdVGPvPViFLeeU6ElUud4FXi3LmGfqT2M0lRP8HwOiugu0UbolTCrMNgQIUTIpsJ bVYrGrZL9+zzeNnCV4cBl9X1tAEGIa4JVGVeiauYpLw876A8/pbBwCQ09v3/EdR1Lqt5 UxRu8WcKgTG7l0f9cHy+g5Dph+KV6vGUZRH0plFKkKHOuRt7PMWz0PoNo1/a4BlonrJJ 6tRgPhw0A6J4M0jvBD71smQW6nn+pfcx2rdVt5C+wuoYrfIjL9z5Nz4PG9IYvFeaFBhg h2aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector1-arm-com header.b=Cmr0mfSy; 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 e1si9809702pfd.0.2019.03.18.08.41.24; Mon, 18 Mar 2019 08:41:40 -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 header.i=@armh.onmicrosoft.com header.s=selector1-arm-com header.b=Cmr0mfSy; 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 S1727493AbfCRPkK (ORCPT + 99 others); Mon, 18 Mar 2019 11:40:10 -0400 Received: from mail-eopbgr70078.outbound.protection.outlook.com ([40.107.7.78]:24079 "EHLO EUR04-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726932AbfCRPkK (ORCPT ); Mon, 18 Mar 2019 11:40:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4uSxtNUSAj8VDMqVARMuCCZdDPQTSFuMGuLncn5xIyA=; b=Cmr0mfSyrgg6Bn8Z214negEuGTIhzKZyrMLNccC7eNC8zRiAofSusGnhpRsmrSKoVS8Ve5wYoP7J6dgAMzk/zZ+hGFLVIkBPTTnt+gRym8wUsMWYWTAxVYkx+LPz+L7/323Y4D24GN6YnwdmYI9BQqiOvtUtL6VlPR35XhHtOZg= Received: from AM0PR08MB3025.eurprd08.prod.outlook.com (52.134.93.10) by AM0PR08MB4114.eurprd08.prod.outlook.com (20.178.202.225) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.13; Mon, 18 Mar 2019 15:40:05 +0000 Received: from AM0PR08MB3025.eurprd08.prod.outlook.com ([fe80::7e:6dfb:116b:befd]) by AM0PR08MB3025.eurprd08.prod.outlook.com ([fe80::7e:6dfb:116b:befd%2]) with mapi id 15.20.1709.015; Mon, 18 Mar 2019 15:40:05 +0000 From: Brian Starkey To: Maarten Lankhorst CC: Ayan Halder , Liviu Dudau , "malidp@foss.arm.com" , "maxime.ripard@bootlin.com" , "sean@poorly.run" , "airlied@linux.ie" , "daniel@ffwll.ch" , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" , "alyssa@rosenzweig.io" , nd , Daniel Vetter , Dave Airlie , Swati Sharma , Juha-Pekka Heikkila , Vidya Srinivas Subject: Re: [PATCH v4 01/10] drm/fourcc: Add AFBC yuv fourccs for Mali Thread-Topic: [PATCH v4 01/10] drm/fourcc: Add AFBC yuv fourccs for Mali Thread-Index: AQHU2P+qA2ep7AXS+0OoMG0/Q7/SaqYRNbSAgABaAgA= Date: Mon, 18 Mar 2019 15:40:05 +0000 Message-ID: <20190318154004.2llnsarwx77kyqbf@DESKTOP-E1NTVVP.localdomain> References: <1552414556-5756-1-git-send-email-ayan.halder@arm.com> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: NeoMutt/20180716-849-147d51-dirty x-originating-ip: [217.140.106.54] x-clientproxiedby: LO2P265CA0164.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:9::32) To AM0PR08MB3025.eurprd08.prod.outlook.com (2603:10a6:208:5c::10) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Brian.Starkey@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 61b161d3-b603-4b7a-f914-08d6abb7fe70 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020);SRVR:AM0PR08MB4114; x-ms-traffictypediagnostic: AM0PR08MB4114: x-ms-exchange-purlcount: 1 nodisclaimer: True x-microsoft-antispam-prvs: x-forefront-prvs: 098076C36C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(376002)(136003)(346002)(366004)(396003)(189003)(199004)(446003)(6486002)(53936002)(1076003)(7416002)(6306002)(6512007)(9686003)(6436002)(256004)(316002)(66066001)(186003)(68736007)(6916009)(229853002)(86362001)(97736004)(5660300002)(3846002)(6116002)(26005)(11346002)(7736002)(14454004)(8936002)(54906003)(25786009)(305945005)(4326008)(81156014)(8676002)(45080400002)(6246003)(72206003)(966005)(478600001)(2906002)(81166006)(99286004)(58126008)(76176011)(386003)(6506007)(71190400001)(106356001)(105586002)(476003)(486006)(44832011)(52116002)(102836004)(71200400001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR08MB4114;H:AM0PR08MB3025.eurprd08.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: BD73QoHP9lkPvIFUIB35f3FEC+kYy7R8zrDNo8BhTiIJIMQ54FAOZCeeEuiBElYStAOCRCLetaH/evFEB6yfJiWI+++nkwau3ix+CaA0v6NOu4C3K5gQ4r4CTNTBrIXi9IjojQNMaPAMl4rB1iKzX+y7vXFnpiS6WoOkgpryu7QRBG8Oim+DDvHSF1//yGPVSOirqsgbpOzDb6YJIkiBbIizBk8Wc+LBQkr2XEURKm27gjnmmm5KyjY2MdBYKGSPHD+LoM44HLotI+RbnZt+H4x4dSfMMWtbGE2JhObqMyGQAnvhMrtsgoHGdH8fcdaBJ9E9akmq8nfPG3kenRwOF1RS2YZEzb8eWcE1JOfdEX7pdLPwIUVKd6fg2IxyUnCNoeK8rmkTXPhVJKNLJHTGpSP9FXT9cKsN6x/9iK5/gMo= Content-Type: text/plain; charset="us-ascii" Content-ID: <4A1217FD59959949926952809B2DBE75@eurprd08.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 61b161d3-b603-4b7a-f914-08d6abb7fe70 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Mar 2019 15:40:05.8487 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4114 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Mon, Mar 18, 2019 at 11:17:55AM +0100, Maarten Lankhorst wrote: > Hey.. >=20 > There's a conflict with this patch and the merge of topic/hdr-formats, re= sulting in double definitions for Y210, Y410 and P010. >=20 > Worse still is that one has set has_alpha to true for Y41x and other to f= alse. >=20 > ~Maarten >=20 Oh that's sad :-( I think this fell through the cracks on our side when someone left our team. Also turns out I'm not subscribed to igt-dev. I see you commented the same on one of the previous patches, and that there was some discussion of this on the test patches too. I have been referring to Microsoft's page[1] as "the" source for these formats, which does indeed call out Y410 as having 2 bits of alpha. Our GPU expects alpha. Was there a specific reason for opting to change the test instead of the definition? Any way to get this changed now? It doesn't seem that sensible for the kernel to call something Y410 which doesn't match an "existing" definition by the same name. If alpha needs to be ignored on scanout, the alpha blend mode property can be used (more archaeology - I see that was still giving CRC failures, but that might be a "known issue" for all YUV on your HW?) -Brian [1] https://docs.microsoft.com/en-us/windows/desktop/medfound/10-bit-and-16= -bit-yuv-video-formats#444-formats