From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C09F9C4CECE for ; Mon, 14 Oct 2019 09:21:29 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 91FAB20659 for ; Mon, 14 Oct 2019 09:21:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="XlZl58zj"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ffwll.ch header.i=@ffwll.ch header.b="JsLdeHhI" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 91FAB20659 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=OXcCin+wIPXuhhCxDWhPWVc5SllMn73MU+DMTwYuD78=; b=XlZl58zjNGp/Mq i2HnTigAsfjThmBxO9VQMJ44nBANOQxE2sk/ESPVmS36hSbtlP5F5pPpqqJW46dptiiPsTxATdtVe egM77VS3fK0hc9IWY1AqHbePvi3iwFVBaOlXvlhwKjRaoyYI6+6JmXTHb7RBj2Oll3HP7QRKCVOmd hzHIMYLbp800qAa5zxS7x49WGwSw1FCT+ojq+b7f5UKSg8n5LQVkWeN9v8ADunVxNr4C2ZHDTrkyw NMuPiV4yQ2iFcr82hELH1gqGj1ApMTcspxGL7IzV9icM8pTUC47Hh+xZ3V6eVWIYBvnCRFP4ybTj+ Z2Lga7wYuR39gjo+fc5A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iJwXa-0002hJ-25; Mon, 14 Oct 2019 09:21:22 +0000 Received: from mail-ed1-x541.google.com ([2a00:1450:4864:20::541]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iJwXD-0002AV-NX for linux-amlogic@lists.infradead.org; Mon, 14 Oct 2019 09:21:02 +0000 Received: by mail-ed1-x541.google.com with SMTP id r18so2479689eds.13 for ; Mon, 14 Oct 2019 02:20:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=cXLWelx1c959PYIdEEkJBzLAagmb1+o1jiOeE3S2Jmo=; b=JsLdeHhIRe3oHC8PeIpbEJtFRSvoNbsnMsSWepL1AiDINUbn1COGw64DIU9mmyXZoO NBrHPLeMDoqCMexMi5WjEQhZerI/sz80vChKHilzZKC3R59MCfjWLraYetWOmq8e0T4c p1naaUgCG6LsKYUH4gDnaJocNjtzg3Qpef/tY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=cXLWelx1c959PYIdEEkJBzLAagmb1+o1jiOeE3S2Jmo=; b=lE2DahwwAYtUJwcFbyg/i5fZDxlfXoAxaV3HQVUIgQYUIcWfGDOCNg51QopVdhvnl6 8YPKKO/K+tNGw661ihUe0p3hphUn31FaQlLbEQnxxLT2rK/NyaaDb2SWR/w0pBKmHvTK l/cczhP6nVsCwC4nKPKSyhtkFziiZeQFP3B6yGl4gjaErWEul4Qwo6UP/PizkyGnekUM HVuYK93Pw9/N5fCP9D2qLIE9HKBWiM/aLb6CAyQEn8jHqndIcM6P8jbj613d7Nuntelb VCytplyuFlqaX7hkrHZ+jwaktajCSk/b3MeOUuL4G3PGgzP23tJgNlZ1tbDsMqW3A0h5 eunA== X-Gm-Message-State: APjAAAUvNzskhk98W9nnl4cXygi0fVFN9e8tN2oTpek1vt1f+Krmzf4a EOJ9pfe6aUYtpnZmcJaxE10pVw== X-Google-Smtp-Source: APXvYqzee5P3rg6HkNKJq083ORWi71hjKU8UGred4yM1dC0aXUaTqD5GAOQVJDwL94rFb3UhmpeydA== X-Received: by 2002:a17:906:7f04:: with SMTP id d4mr28150017ejr.178.1571044857729; Mon, 14 Oct 2019 02:20:57 -0700 (PDT) Received: from phenom.ffwll.local (212-51-149-96.fiber7.init7.net. [212.51.149.96]) by smtp.gmail.com with ESMTPSA id a50sm3033294eda.25.2019.10.14.02.20.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Oct 2019 02:20:57 -0700 (PDT) Date: Mon, 14 Oct 2019 11:20:55 +0200 From: Daniel Vetter To: Brian Starkey Subject: Re: [PATCH 4/7] drm/meson: plane: add support for AFBC mode for OSD1 plane Message-ID: <20191014092054.GK11828@phenom.ffwll.local> References: <20191010092526.10419-1-narmstrong@baylibre.com> <20191010092526.10419-5-narmstrong@baylibre.com> <20191010132601.GA10110@arm.com> <44f1771f-d640-f23d-995f-7bfcadd213bc@baylibre.com> <20191011084108.i7lfh2d7asfmcdk4@DESKTOP-E1NTVVP.localdomain> <20191011105559.clttghy52wfdmb34@DESKTOP-E1NTVVP.localdomain> <20191014091118.jfa7xxh2e7kxu4ff@DESKTOP-E1NTVVP.localdomain> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20191014091118.jfa7xxh2e7kxu4ff@DESKTOP-E1NTVVP.localdomain> X-Operating-System: Linux phenom 5.2.0-2-amd64 User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191014_022059_840728_E2FBA7C0 X-CRM114-Status: GOOD ( 21.55 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: nd , Neil Armstrong , "khilman@baylibre.com" , "dri-devel@lists.freedesktop.org" , Daniel Vetter , "linux-amlogic@lists.infradead.org" , Ayan Halder , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org On Mon, Oct 14, 2019 at 09:11:17AM +0000, Brian Starkey wrote: > On Fri, Oct 11, 2019 at 07:25:02PM +0200, Daniel Vetter wrote: > > On Fri, Oct 11, 2019 at 12:56 PM Brian Starkey wrote: > > > > > > Hi, > > > > > > On Fri, Oct 11, 2019 at 11:14:43AM +0200, Neil Armstrong wrote: > > > > Hi Brian, > > > > > > > > On 11/10/2019 10:41, Brian Starkey wrote: > > > > > > > Are you sure the GPU supports other orders? I think any Arm driver > > > > > will only be producing DRM_FORMATs with "BGR" order e.g. ABGR888> > > > > > I'm not convinced the GPU HW actually supports any other order, but > > > > > it's all rather confusing with texture swizzling. What I can tell you > > > > > for sure is that it _does_ support BGR order (in DRM naming > > > > > convention). > > > > > > > > Well, since the Bifrost Mali blobs are closed-source and delivered > > > > by licensees, it's hard to define what is supported from a closed > > > > GPU HW, closed SW implementation to a closed pixel format implementation. > > > > > > > > > > I hear you. IMO the only way to make any of this clear is to publish > > > reference data and tests which make sure implementations match each > > > other. It's something I'm trying to make happen. > > > > *cough* igt test with crc/writeback validation *cough* > > > > And you don't even need anything that actually compresses. All you > > need is the minimal enough AFBC knowledge to set up the metadata that > > everything is uncompressed. We're doing that for our intel compression > > formats already, and it works great in making sure that we have > > end-to-end agreement on all the bits and ordering and everything. > > Yeah this was my original thinking too. Sadly, a decent number of the > AFBC parameters can't be tested with uncompressed data, as the codec > kicks into a different mode there. Hm right I guess some of the flags/parameters only matter if you deal with actual compressed data. Still, better than nothing I guess - this should at least catch stuff like color channels wired up the wrong way compared to linear, and fun stuff like that. > > Ofc > > it doesn't validate the decoder, but that's not really igts job. > > Should be possible to convince ARM to release that (as open source, in > > igt), since it would be fairly valuable for the entire ecosystem here > > ... > > I fully agree about the value proposition. I'll be waiting for patch from arm then :-) Cheers, Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic