Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3644161imu; Fri, 30 Nov 2018 03:54:03 -0800 (PST) X-Google-Smtp-Source: AFSGD/Vwti85XNip6dG1DD50UaD44teOAZAP4MkIZk7w1UNSwn1xz3ScGGWM52HfdR7xJ9i+W5+f X-Received: by 2002:a65:6645:: with SMTP id z5mr4656675pgv.351.1543578843506; Fri, 30 Nov 2018 03:54:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543578843; cv=none; d=google.com; s=arc-20160816; b=1ISMQ5wkkUHTUoPTIVWluyqUo1OLwh48d266+w4ieDXGZw0VCnIYEELgNouysBsKPx 32eVTsQcetTWGosQ5WtzgqYsr7S+czaoQS8TJDwtTDdUnXTfv54zElApbe25nteO6PiX kUVMSSi+nPGF4FqWrB45RNL1CW+Vpy9vxvdyxb6VFz/6ULqC6J59HHfBQGkjdV6B6xX2 VrnSR7EutF2oSS52IKOK0kn0eTUThrj3oxFA1b1In8A/PRRQBfPpfuZV9G4Y4V63R1NR zes72mnbVLTY68d2XIUfLUkTMdItc4vIXwLsYtrauh0r8279GFADGyOFnvvsNXm/r8zy f55Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dmarc-filter:dkim-signature :dkim-signature; bh=4DwcHSoFIO8p4G1h/rjLKCgiUnfr1IQHaZwukreLjpM=; b=GgwjY6eh65S9vST1JHMYySpYw4ZhqTy7FGBtQ7UuAcj73kwAPHOPyCvOgrnwyutnGC oVOkTA/bERK082FRUhD8gSlOi36ZSNMgj7pHxOpsGALs1IWbt4FPvd0ARXI7gsoBH3zS VoCLSPfSithY6mYlj5IJ1oc1oil5XCkB4LNRmgPsoZZgjLQWmZIlj1yOS8cxN3lpH5+k fvaTs/iDMkRRyicDTZQIOpiO/ZvqDlQAjyYPJgBf+STMM52MQbdbYLK+/uRXhGTWjKwv VdtTLY2xYuwNQjc/lgd58nAQI7sBRxZeq5TEbi/kb8fcshhL1qH3a86hyUG+swVHo9jk aCBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=CV6aZnwD; dkim=pass header.i=@codeaurora.org header.s=default header.b=fs64NL+M; 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 18si4538038pgo.331.2018.11.30.03.53.48; Fri, 30 Nov 2018 03:54:03 -0800 (PST) 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=@codeaurora.org header.s=default header.b=CV6aZnwD; dkim=pass header.i=@codeaurora.org header.s=default header.b=fs64NL+M; 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 S1726912AbeK3XCG (ORCPT + 99 others); Fri, 30 Nov 2018 18:02:06 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:40652 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726521AbeK3XCG (ORCPT ); Fri, 30 Nov 2018 18:02:06 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 8B39B60B11; Fri, 30 Nov 2018 11:53:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1543578784; bh=f1eMrYmqOmvPmQWnFQBHsCTbgU6uDlZ+PXfDWnE/ZIg=; h=From:To:Cc:Subject:Date:From; b=CV6aZnwD1zL1cgVtDXCLnowextSzrOhpiHKz/ue3JuEd+cBwoGv3qC2JIKrlKkAK9 lazIjz6OwumugNNdqefct7kuAm156rSuTDq7SaPNXB0meTz0vNcmZegpVibb8bvG/T 2TInzNAXro6CSnqac5YWfqlLgxB3aZVOYQy11jTw= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from jshekhar-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jshekhar@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 14146602F4; Fri, 30 Nov 2018 11:52:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1543578783; bh=f1eMrYmqOmvPmQWnFQBHsCTbgU6uDlZ+PXfDWnE/ZIg=; h=From:To:Cc:Subject:Date:From; b=fs64NL+MgqjwlA2gMRMVsGESsmiMs32viVsBwOAXNYnFwuCqhPWpU7KFqwWUYfbPP eHzkzPLRVRK+F/hqcO8mSCvrYkW7LOPWhzecXrKyvG8jBnP8TCvz8jz19gzGYlscX2 vLYOUCOaT86QiKSIChKWQsgVxJBiTGC7vH+Hg4E0= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 14146602F4 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=jshekhar@codeaurora.org From: Jayant Shekhar To: dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org Cc: Jayant Shekhar , linux-kernel@vger.kernel.org, robdclark@gmail.com, seanpaul@chromium.org, hoegsberg@chromium.org, abhinavk@codeaurora.org, jsanka@codeaurora.org, chandanu@codeaurora.org, nganji@codeaurora.org Subject: =?UTF-8?q?=5BDPU=20PATCH=C2=A0=5D=20drm/msm/dpu=3A=20Ignore=20alpha=20for=20XBGR8888=20format?= Date: Fri, 30 Nov 2018 17:22:50 +0530 Message-Id: <1543578770-25708-1-git-send-email-jshekhar@codeaurora.org> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Alpha enable in the pixel format will help in selecting the blend rule. By keeping alpha enable to true we are allowing foreground alpha to blend with the layer. If alpha is don't care, then we should not allow pixel alpha to be part of blend equation. Signed-off-by: Jayant Shekhar --- drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c index bfcd165..d743e7c 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_formats.c @@ -216,7 +216,7 @@ struct dpu_media_color_map { INTERLEAVED_RGB_FMT(XBGR8888, COLOR_8BIT, COLOR_8BIT, COLOR_8BIT, COLOR_8BIT, C2_R_Cr, C0_G_Y, C1_B_Cb, C3_ALPHA, 4, - true, 4, 0, + false, 4, 0, DPU_FETCH_LINEAR, 1), INTERLEAVED_RGB_FMT(RGBA8888, -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project