Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2710679imm; Mon, 10 Sep 2018 05:29:20 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZ2e25Kguy0w0uzNrbndzHjivbi9Pv6vxsmiI37tbJFCHku9to42AyMniHdBYFQ7DO2khks X-Received: by 2002:a63:28c7:: with SMTP id o190-v6mr22379361pgo.84.1536582560314; Mon, 10 Sep 2018 05:29:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536582560; cv=none; d=google.com; s=arc-20160816; b=B57KP4MuVap0EfXy6rWt/BOl2qZRYGOmHNi6AeTS4WzhK3tFSLyDUheA5dUSsusfhY KoO6aJkuBD11edyjS3yE1h9z0goj/0bAVhQLqWJ+GLUae9chvUhRL5j1KD04l/3p39dr J7ft1pFzBtNIKiH+mjus5Tx92Mn+Uih3smJIM+gupanRv3qmndR2I+57u3IrnCtaJmLm Ccb9Dne44Z7qJdxUznxpWaWFr4KPI7YNtKWzpyxnKJME6jiSEmoT1ZYt4zZuF6crRhZ7 ChsPluYsUGOiXvseJ+HTXzCEAfcCJfH5b1wy7tBOeYnKR7Ve/FPyI6HFtVKgdELvtl5E +dmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date; bh=tYafzlklYHhbFHS2XwCnVa9UyNsBbIEnOdzFoRj3+UQ=; b=m2Ss2wPXln8c1n3n2MKNbg1yYWck6JVBKvr79CY+PTTE8Cz+F14WiaEL7Kpt9SK1j+ GCK7GUvB6Kk0zBHcM0XxfCW/RjW8hrHqE6aUvzgpRu/K4kA2w7CuqwvBPvKZ73Ok9HTe EIYTzx6bS1JgwWiTlXSlTVNrec9991U9MJrIv0z4feFFKZScBgOz7k6m0RAfMvQyuBn+ eqs1p6iUH7nom5ImhlTjYaQr1zhNlz8ocQmQgOvc+PsrTrPeYHSGgzS88XhDugYoLCh9 BtxuVnxggGbCXJrhdRCEGP0qnJ+phqV9irGd0HQN3lS1f+5mbBy1E3nnZoCQNEDWYVGv mGTQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 72-v6si18272221pfq.6.2018.09.10.05.29.04; Mon, 10 Sep 2018 05:29:20 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728523AbeIJRVD (ORCPT + 99 others); Mon, 10 Sep 2018 13:21:03 -0400 Received: from mga02.intel.com ([134.134.136.20]:54897 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728066AbeIJRVD (ORCPT ); Mon, 10 Sep 2018 13:21:03 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Sep 2018 05:27:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,355,1531810800"; d="scan'208";a="71759025" Received: from stinkbox.fi.intel.com (HELO stinkbox) ([10.237.72.174]) by orsmga007.jf.intel.com with SMTP; 10 Sep 2018 05:26:49 -0700 Received: by stinkbox (sSMTP sendmail emulation); Mon, 10 Sep 2018 15:26:49 +0300 Date: Mon, 10 Sep 2018 15:26:49 +0300 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= To: Neil Armstrong , Ayan Kumar Halder , liviu.dudau@arm.com, brian.starkey@arm.com, malidp@foss.arm.com, airlied@linux.ie, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, nd@arm.com Subject: Re: [PATCH v2 0/4] Add support for Arm Framebuffer Compression(AFBC) Message-ID: <20180910122649.GO5565@intel.com> References: <1531228737-5450-1-git-send-email-ayan.halder@arm.com> <0e22e63c-6981-9e5d-ed2d-2ad1dfbccd4f@baylibre.com> <20180909120357.GA19774@phenom.ffwll.local> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180909120357.GA19774@phenom.ffwll.local> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Sep 09, 2018 at 02:03:57PM +0200, Daniel Vetter wrote: > On Sat, Sep 08, 2018 at 03:58:53PM +0200, Neil Armstrong wrote: > > Hi Ayan, > > > > On 10/07/2018 15:18, Ayan Kumar Halder wrote: > > > In the current series of patches, we are trying to add support for AFBC > > > modifiers in malidp. AFBC modifiers adds some constraints to framebuffer > > > size, alignment, pitch, formats, etc. Here we are trying to add support > > > for one combination of AFBC modifier ie AFBC_FORMAT_MOD_BLOCK_SIZE_16x16 | > > > AFBC_FORMAT_MOD_SPARSE | AFBC_FORMAT_MOD_YTR. > > > In future, we intend to add support for more combination of AFBC modifiers. > > > Currently, we are trying to enable a basic support of AFBC in malidp. > > > > Thanks for pushing AFBC support, this will help supporting it on other SoCs implementing support > > like Amlogic, Rockchip or Samsung. > > > > I have one question, is there a way to generate such AFBC buffers without the Mali GPU ? > > I mean, is there a way to generate some sample buffers with some of the modifier features > > to validate it without having the complete Mali GPU -> DRM chain ? > > An igt would be perfect. We've done that for i915 compressed buffers. Note > that it just needs to be an afbc buffer, not actually compressed. Setting > all the bits to indicate "uncompressed" for each block is what we did for > the i915 test. Actually no. The i915 test does try to put some compressed data into the buffer. I have also a pending patch series [1] that allows us to render to compressed buffers with cairo by compressing the results using the GPU. [1] https://patchwork.freedesktop.org/series/46876/ -- Ville Syrj?l? Intel