Message ID | 20180607110740.456-1-m.szyprowski@samsung.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1950160lji; Thu, 7 Jun 2018 04:07:59 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLec46S/h1A2iegnNOpAB360Z8KGMvTkYIY8Rh0F7cj7t+z8H3aStMyEITb+deO+TfyYUOM X-Received: by 2002:a63:3c07:: with SMTP id j7-v6mr1187338pga.440.1528369679728; Thu, 07 Jun 2018 04:07:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528369679; cv=none; d=google.com; s=arc-20160816; b=bHe6rijY/n3d23COm1QWlaJJJCBV9Se8t2Xuuc9GM/uMTqBGwBfBoyfWHE4/tBqptx uQ7qXS2xsgBMgYUVUTrYdNPw++t0CHFwz0Wr0F8Y5IfbS/DOWGcrSDKXPYXgGTI8rR8M KqqMH0LZJ7/seQUSdPaHuhlAnmO/qcaXKFQp0h4jAohZWiuSUv72oTMRgBcXqM/Lb1WA FKcDgZRLPNUMPnWfSSlViKDOS9SQlvjzYhPI7lfYK11dBb0GloirpD2tzv+RgXnToCAx EQqisGyLcAwpQcUVzutbiOqrUXIiLaVtZ+LOSvIqae14d0ukof1Jx7gYmTgDGzGOnPR5 rTqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=z484x4h0bOfz4EgzTbkTADDiAvKSSIfXcLSAvsYWZ2I=; b=RzNGuJ6AjZUgOc2dHCXRebciWD5vaCrGLMm95nVFtv3J08aTxdRzYHHpSFtTW16JU7 yUGKj+E3MfK2iXZ7yxGX90TpPG+hPARPyomBMT+Cp75QqT2c/zWSMiRo4toU3uDkmeBF lr5OsLQ/1bJUZ5YshR7EaBnX7HvAlX+I/bo7qgIupwPfBFfFx6K/LA7VE6cv6nkN65aO 9y0bnDYcQnYGcH2tkGO57VvWKFtfyARcWhw0qYN17xRNXEFS9DzOZZ5rXmsPTVISvvZX V2kSfVCQQZZqBgVXdmuhXK8zFRo2okYIkxrz9+Qhyo8gXaQEGdxMOM+7ADqCx9HTawQV eyaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=ajjAJ3sf; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: <linux-samsung-soc-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x15-v6si44392820pgq.442.2018.06.07.04.07.59; Thu, 07 Jun 2018 04:07:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=ajjAJ3sf; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753334AbeFGLHw (ORCPT <rfc822;riku.voipio@linaro.org> + 3 others); Thu, 7 Jun 2018 07:07:52 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:45184 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753342AbeFGLHs (ORCPT <rfc822;linux-samsung-soc@vger.kernel.org>); Thu, 7 Jun 2018 07:07:48 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20180607110747euoutp01c39097d24e6b4280ad8af92a4c02b51a~13B1WtPv21940619406euoutp01t; Thu, 7 Jun 2018 11:07:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20180607110747euoutp01c39097d24e6b4280ad8af92a4c02b51a~13B1WtPv21940619406euoutp01t DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1528369667; bh=ZeTMxikoMNHz1fgpYmz2yTePAfSEVHMqY3UbnoJ3xgs=; h=From:To:Cc:Subject:Date:References:From; b=ajjAJ3sfKLZH9d8y1/7ulqmOdq2zdjmtu9GounXO/4tcNnezcLMNraY2LngedM7X1 nBfJas+ZZBNtnAkhEvtCRhllxayJHOJDnQH9Is//Bqx+LemZr01WxsMldnNqhh+P+0 rdJFHJZfbO7QSWyzku0Lm7H2cvCoaZvbzQ8COaHg= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180607110746eucas1p2ddc2f9e9059014cdcb3d2c48d4725255~13B0g2AkJ1745017450eucas1p2u; Thu, 7 Jun 2018 11:07:46 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 47.D6.17380.102191B5; Thu, 7 Jun 2018 12:07:45 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180607110745eucas1p15d30c0ed66abfef60b48835cd481ea3d~13Bz4OAf32075920759eucas1p1j; Thu, 7 Jun 2018 11:07:45 +0000 (GMT) X-AuditID: cbfec7f4-6f9ff700000043e4-72-5b19120135ad Received: from eusync3.samsung.com ( [203.254.199.213]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 8E.DD.04178.102191B5; Thu, 7 Jun 2018 12:07:45 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P9Y005S49KUCP00@eusync3.samsung.com>; Thu, 07 Jun 2018 12:07:45 +0100 (BST) From: Marek Szyprowski <m.szyprowski@samsung.com> To: dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski <m.szyprowski@samsung.com>, Inki Dae <inki.dae@samsung.com>, Seung-Woo Kim <sw0312.kim@samsung.com>, Andrzej Hajda <a.hajda@samsung.com>, Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Subject: [PATCH] drm/exynos: decon5433: Fix per-plane global alpha for XRGB modes Date: Thu, 07 Jun 2018 13:07:40 +0200 Message-id: <20180607110740.456-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprKIsWRmVeSWpSXmKPExsWy7djP87qMQpLRBu92WlncWneO1WLjjPWs Fle+vmezmHR/AovFjPP7mCzWHrnLbjFj8ks2B3aP+93HmTz6tqxi9Pi8SS6AOYrLJiU1J7Ms tUjfLoEro+/bVfaCHo6KaU+3MTYw/mPrYuTkkBAwkfi0/x5rFyMXh5DACkaJ07PWsUE4nxkl 3r86xARTNfnnLKjEMkaJj203mCCcBiaJlpub2EGq2AQMJbredoHNFRFwk2g6PBNsLrPATUaJ lg+3wRLCAsES/xeuBhvLIqAqcW39MRYQm1fAWuLcq/3sEOvkJVZvOMAM0iwhcJNVYurCb4wQ CReJf2+2Qd0kLPHq+BaoBhmJzo6DTBANzYwS7TNmsUM4PYwSW+fsgPrVWuLw8YusIDazAJ/E pG3TgVZwAMV5JTrahCBKPCT+3ZoMNlRIIFbi7ebvzBMYJRYwMqxiFE8tLc5NTy02ykst1ytO zC0uzUvXS87P3cQIjKzT/45/2cG460/SIUYBDkYlHt6G++LRQqyJZcWVuYcYJTiYlUR4Ey+J RQvxpiRWVqUW5ccXleakFh9ilOZgURLnjdOoixISSE8sSc1OTS1ILYLJMnFwSjUwJiRtOHFa 54L12lSh9dOl3C6UJXi9UNDrMJQxFW2aE3rhhcPCOJkl+z/qMXjsLNY3lnP3vDKvbVX2+fqr htWrDyQ/3LB1Htelpuye7lkJ97tkF89WfWL4tGWjY0748Ws7LwW1B3dXL2d5mH/XZQ3XkrWX ROcv6W3dYeCmfnbC+i1LGPyVxUqVlFiKMxINtZiLihMBh97ptagCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrKJMWRmVeSWpSXmKPExsVy+t/xq7qMQpLRBqe2SVvcWneO1WLjjPWs Fle+vmezmHR/AovFjPP7mCzWHrnLbjFj8ks2B3aP+93HmTz6tqxi9Pi8SS6AOYrLJiU1J7Ms tUjfLoEro+/bVfaCHo6KaU+3MTYw/mPrYuTkkBAwkZj8cxaQzcUhJLCEUaLvwUEWCKeJSeJR 5wZmkCo2AUOJrrddYB0iAm4STYdnsoLYzAI3GSWOTUkEsYUFgiX+L1zNBGKzCKhKXFt/jAXE 5hWwljj3aj87xDZ5idUbDjBPYORawMiwilEktbQ4Nz232FCvODG3uDQvXS85P3cTI9Dz2479 3LyD8dLG4EOMAhyMSjy8DffFo4VYE8uKK3MPMUpwMCuJ8CZeEosW4k1JrKxKLcqPLyrNSS0+ xCjNwaIkznveoDJKSCA9sSQ1OzW1ILUIJsvEwSnVwFinVKVw52C9ljffKVOPlYYyFTl1Abfz nqcZzZU9qtZuzb5A0e1c8dRym3L3fX6LDk6a71jB87WK7YNv6aKOGYE/7L49Yq1OLfiTyCVy yPCO9tGqeLaQdzdrVRdetC2tKZBPWed0XDc8NOKy9hHG+VXG7I5n+ip6Zt9cW+X4T4Xl6s+w adualViKMxINtZiLihMBnfPQkfgBAAA= X-CMS-MailID: 20180607110745eucas1p15d30c0ed66abfef60b48835cd481ea3d X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180607110745eucas1p15d30c0ed66abfef60b48835cd481ea3d References: <CGME20180607110745eucas1p15d30c0ed66abfef60b48835cd481ea3d@eucas1p1.samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: <linux-samsung-soc.vger.kernel.org> X-Mailing-List: linux-samsung-soc@vger.kernel.org |
Series |
drm/exynos: decon5433: Fix per-plane global alpha for XRGB modes
|
expand
|
diff --git a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c index 82c95c34447f..92d28b5b1077 100644 --- a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c +++ b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c @@ -356,8 +356,8 @@ static void decon_update_plane(struct exynos_drm_crtc *crtc, writel(val, ctx->addr + DECON_VIDOSDxB(win)); } - val = VIDOSD_Wx_ALPHA_R_F(0x0) | VIDOSD_Wx_ALPHA_G_F(0x0) | - VIDOSD_Wx_ALPHA_B_F(0x0); + val = VIDOSD_Wx_ALPHA_R_F(0xff) | VIDOSD_Wx_ALPHA_G_F(0xff) | + VIDOSD_Wx_ALPHA_B_F(0xff); writel(val, ctx->addr + DECON_VIDOSDxC(win)); val = VIDOSD_Wx_ALPHA_R_F(0x0) | VIDOSD_Wx_ALPHA_G_F(0x0) |
Set per-plane global alpha to maximum value to get proper blending of XRGB and ARGB planes. This fixes the strange order of overlapping planes. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> --- drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html