From: Daniel Vetter Subject: Re: [PATCH 0/4] Adding support for plane alpha/color blending through drm property Date: Tue, 25 Mar 2014 11:51:57 +0100 Message-ID: <20140325105157.GX26878@phenom.ffwll.local> References: <1394266879-20522-1-git-send-email-sagar.a.kamble@intel.com> <20140320141140.GQ6912@strange.amr.corp.intel.com> <20140320144517.GT6912@strange.amr.corp.intel.com> <1395409006.2740.18.camel@sagar-desktop> <1395741822.2740.19.camel@sagar-desktop> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com [74.125.83.53]) by gabe.freedesktop.org (Postfix) with ESMTP id C96A26E15F for ; Tue, 25 Mar 2014 03:52:01 -0700 (PDT) Received: by mail-ee0-f53.google.com with SMTP id b57so279479eek.12 for ; Tue, 25 Mar 2014 03:52:01 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1395741822.2740.19.camel@sagar-desktop> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Sagar Arun Kamble Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Tue, Mar 25, 2014 at 03:33:42PM +0530, Sagar Arun Kamble wrote: > Hi Damien, > > Could you please clarify following queries. He did, in a reply to your mail ... -Daniel > > Thanks, > Sagar > On Fri, 2014-03-21 at 19:06 +0530, Sagar Arun Kamble wrote: > > Hi Damien, > > > > On Thu, 2014-03-20 at 14:45 +0000, Damien Lespiau wrote: > > > On Thu, Mar 20, 2014 at 02:11:40PM +0000, Damien Lespiau wrote: > > > > (source is premultiplied) > > > > > > > > RGBA = ADD(SRC_COLOR*SRC_ALPHA, DST_COLOR*ONE_MINUS_SRC_ALPHA) > > > > > > Grr, copy/paste error. If the source is already premultiplied: > > > > > > RGBA = ADD(SRC_COLOR, DST_COLOR*ONE_MINUS_SRC_ALPHA) > > > > > > > 1. Currently there is no interface to advertise the DRM_FORMATS plane > > supportes to user mode? Should we add new IOCTL for that and include > > pre-multiplied alpha formats while advertising? Or am I missing any such > > API already available? > > > > 2. About constant alpha property - when we program constant alpha > > register will hardware be able to take care of the blending as per > > equations you have specified for non-premultiplied-alpha and > > premultiplied-alpha cases or we have to do any additional setting? > > Confusion is because of two combinations: > > a. pre-multiplied alpha+constant alpha > > b. non-pre-multiplied alpha+constant alpha > > > > Kindly clarify. > > > > thanks, > > Sagar > > > > > > > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/intel-gfx -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch