Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9433025ybi; Wed, 10 Jul 2019 10:09:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqwkm8dfvYzvYgTegD545H0rzG9AmV1HlkiJ920EQE/X1f0vQ+XwQNKllnF0rbcyV2uKKoJ5 X-Received: by 2002:a17:90a:9b08:: with SMTP id f8mr8174252pjp.103.1562778581345; Wed, 10 Jul 2019 10:09:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562778581; cv=none; d=google.com; s=arc-20160816; b=Jlu7dHEdcVbq5QjVh2aQVAt8EgQAIqBB7mUioeR1YL68GhwqD2IN93sTPFrWa2/kgJ 9qeB+ZRiMNClPbw+4vqCm638joizujiddikRaYY93B9WQJ8K1Kw2tQBjcy2O7KP/t6Mf RCHuWLICWZyiqyl/raaOTGBcOkhHLIgfuihYuA4qc/1MPT/KBk72UaidRNRZ2DRdle/o WLlU8jCY3D2Dfve+50bVyG9iyzClRC4z08TK73C8kZ5qYjY3lBMRJRp1RN6Cn8kIKxVX 3nASllJOtwOU74LwwpW+1fD8/kMtTnpin/POzNnsmJ5dJOOk2BPtRduW7gTK4EU5/sza /Vqw== 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-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=uI+5nY7XDdUozZn2ePMYhLurWiDfFbelgLstEGLSrzU=; b=Qj4EeD3pdsSvDwLG4gRyUNmv/U0kyjuJYrc50bkO0WU+UDskuvC1c6nw5OkT4pgUZH lUb15BPQkFK6jtY0dp1pPTpTaGAc9RdtSrYykyepxT1C5OhZ95R5hKtOOSrSyenvLxfL CRYnrvsPfEDEM2qJxrHiaipLt7861Uzs16YcvBR6/EnTpm1hTfexsCS8Na6tOYjcKxkB 4C2FLRtpBBAMKmTFGzwXzE1ABNSLJObgblkeK6m7wtReUsrJeQp6P6mswsdf1hL8Q9HN OOVMdwVxjXm0dNtNwArIoyfRVGm2SXkfYewl15I9kepOPeTJbjo3Sxi88JRC10Tvs5PV 9Z2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@ffwll.ch header.s=google header.b=cAyGu57g; 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 i94si2437642plb.78.2019.07.10.10.09.13; Wed, 10 Jul 2019 10:09:41 -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=fail header.i=@ffwll.ch header.s=google header.b=cAyGu57g; 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 S1728136AbfGJQq1 (ORCPT + 99 others); Wed, 10 Jul 2019 12:46:27 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:42741 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727287AbfGJQq1 (ORCPT ); Wed, 10 Jul 2019 12:46:27 -0400 Received: by mail-ed1-f68.google.com with SMTP id v15so2821963eds.9 for ; Wed, 10 Jul 2019 09:46:26 -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:mail-followup-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=uI+5nY7XDdUozZn2ePMYhLurWiDfFbelgLstEGLSrzU=; b=cAyGu57gbAQyE13Us/MLHPU4v7/XxDe2mavAEkjAhv5wVIt7cwMgbvQbCmNOq4Uhds jENjmnGzOLQq7AwZHeVRaB2yanqQRHyGxNQvXFYMvRFpGVslUyB61RxDdPlMC4TSlQIR OKq0ihnd6b82L5buDsdq9D49nYXqBveHF62Cs= 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 :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=uI+5nY7XDdUozZn2ePMYhLurWiDfFbelgLstEGLSrzU=; b=f1avgJh2TGTeWf+1GdXSYIVH6NvxKyB8k5Pr9+EY8wA3W1/qqDodLOUF47Nt2VVRmT CkAu/BCgPiNYCpSGiuWG99fVHVeljplMRMLvtCyRndnz2W2z7vp9+0vZSkeL4CFobwyN YtLzh3EohX2sn0O36cA4xEFuZ6RRRSbt2uwF8qVgEGebiXyhhFqGdm87QgeXL9dFhZ9h OA5YSO4HD4BLrQmxtiHOcZDor+7CZzAFXrYJGjqBqc2KdmfzAO7X4i+7VRy+y+020J1a UU5jnNZE6iTltVBbSKLVm3JDBrQTGtfcLbZ6oMM1d0gXvv4RbwEWdKts/IwL8F9QVkLq 1dFg== X-Gm-Message-State: APjAAAUTjpeWhJNyolw7/ZEe++9EQXlbsV1AgSIucGCtK91nI7S0Ibpz 2Szp/fac3pa/2hmuh7rxJIS7UA== X-Received: by 2002:a50:b155:: with SMTP id l21mr31948432edd.186.1562777185813; Wed, 10 Jul 2019 09:46:25 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:569e:0:3106:d637:d723:e855]) by smtp.gmail.com with ESMTPSA id x11sm625141eju.26.2019.07.10.09.46.24 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 10 Jul 2019 09:46:25 -0700 (PDT) Date: Wed, 10 Jul 2019 18:46:23 +0200 From: Daniel Vetter To: Rodrigo Siqueira Cc: Daniel Vetter , Haneen Mohammed , David Airlie , Simon Ser , Oleg Vasilev , Mamta Shukla , Harry Wentland , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] drm/vkms: Use alpha value for blending Message-ID: <20190710164622.GA15868@phenom.ffwll.local> Mail-Followup-To: Rodrigo Siqueira , Haneen Mohammed , David Airlie , Simon Ser , Oleg Vasilev , Mamta Shukla , Harry Wentland , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: Linux phenom 4.19.0-5-amd64 User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 09, 2019 at 10:52:02PM -0300, Rodrigo Siqueira wrote: > The first patch of this series reworks part of the blend function to > improve the readability and also for preparing it for using alpha value. > The second patch updates the blend function for applying alpha value for > a fully transparent blend. After applying this patchset, > pipe-a-cursor-alpha-transparent in kms_cursor_crc start to pass. Looking at the series I wonder whether we should go right ahead to reworking the entire composer pipeline to future proof it for multiple planes and other pixel modes. Or whether enabling alpha blending with what we have now is a better idea, but that means more complicated refactoring later on ... > This patchset depends on: > https://patchwork.freedesktop.org/series/61738/ Ok I guess I need to look at this one here first. -Daniel > > Rodrigo Siqueira (2): > drm/vkms: Rework blend function > drm/vkms: Use alpha channel for blending cursor with primary > > drivers/gpu/drm/vkms/vkms_composer.c | 54 ++++++++++++++++++++-------- > 1 file changed, 39 insertions(+), 15 deletions(-) > > -- > 2.21.0 -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch