Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2220438pxu; Fri, 18 Dec 2020 08:10:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJzfG1ZW8IQSPrw3TtuhWgPYj77StgxwbZIulVyNcqbQcDMsBkPVjwpDVihsxJmDThX3rVE3 X-Received: by 2002:aa7:cb10:: with SMTP id s16mr5092337edt.304.1608307844646; Fri, 18 Dec 2020 08:10:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608307844; cv=none; d=google.com; s=arc-20160816; b=X42/NG5rtbwN5zgMKLr4PUDd/i7RfsE2daeEpjlycesI3yjQnO4BTy+4VovNk/R5Gn Ll6ektdfLNO37Llrv5XkD5hUMB79uqCbmLagkGSIxz3Tzo0thiFQNIHL0vJ8lYevdvyd v7rqNS6A8Ly9ggqlPObiYoUsuCGs5RA4JM1MU5UsOjCUgTOvL2cDxfDdX/6JT4sO2chd cjFwZwcrfJWvXKRaWoOO+3yio5HtvOKtXc97h+nH9YPWbuQgYFYygb7IJWe0GKsFy+cm xVhQSn/fGaj8gvZjujpm+zy17hQz0tmyYBr3fpy8BgF9i2TwHljApft6nfFO5sLdRF8l F5xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=cA+FFe4jA2A80KSHMwIQSRHcg23YsK60A5DtWiQqjuo=; b=lyH8Fs+WuTklQuGdaDjSMCezncCn38s2O/su4VwbomPjdxVnDIegjc3DxkKP5ValrC zawxryvh6/eT35exQqj3O0VhZGUBrk6QC0hkibCYPTwLKdqYYKdqqlYVtv2g5hc3w+8z IcQocYXBsYX1jMPsi73raPOx5jhNo1pAswN1qdnDkG66DActnBycrcp3VKek9OQgUorr k0UVbRAJBVLQZn8oJDwq0AFsX4J61TY4G2je/ZGBg53SWOVbd8Ouuu5zngrhi0HkPiWt oN0UhGix43TtrOwX2UcyFZVeos8v8Ljep+mu+ce4EdFDX4phxoOHD6urrgbCQggSW8Ov CY7g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r21si5236572ejo.100.2020.12.18.08.10.22; Fri, 18 Dec 2020 08:10:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726885AbgLRQHL (ORCPT + 99 others); Fri, 18 Dec 2020 11:07:11 -0500 Received: from 4.mo68.mail-out.ovh.net ([46.105.59.63]:42459 "EHLO 4.mo68.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726025AbgLRQHK (ORCPT ); Fri, 18 Dec 2020 11:07:10 -0500 Received: from player716.ha.ovh.net (unknown [10.108.54.59]) by mo68.mail-out.ovh.net (Postfix) with ESMTP id 748E617FA50 for ; Fri, 18 Dec 2020 15:11:20 +0100 (CET) Received: from armadeus.com (lfbn-str-1-215-46.w86-243.abo.wanadoo.fr [86.243.176.46]) (Authenticated sender: sebastien.szymanski@armadeus.com) by player716.ha.ovh.net (Postfix) with ESMTPSA id B281C194034C8; Fri, 18 Dec 2020 14:11:04 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-96R001a6eef942-fcab-4ed3-a9e4-1f900c775826, F4E34FAEFBBC2F77A8F65A75F5C3271EDA163614) smtp.auth=sebastien.szymanski@armadeus.com X-OVh-ClientIp: 86.243.176.46 From: =?UTF-8?q?S=C3=A9bastien=20Szymanski?= To: Rob Herring , Shawn Guo , Sascha Hauer , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Marek Vasut , Stefan Agner , David Airlie , Daniel Vetter , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , =?UTF-8?q?S=C3=A9bastien=20Szymanski?= Subject: [PATCH 2/3] drm: mxsfb: add alpha plane support on i.MX6UL/i.MX6ULL Date: Fri, 18 Dec 2020 15:10:34 +0100 Message-Id: <20201218141035.28038-2-sebastien.szymanski@armadeus.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201218141035.28038-1-sebastien.szymanski@armadeus.com> References: <20201218141035.28038-1-sebastien.szymanski@armadeus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 13296877900587553861 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedujedrudeliedgieduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufffkffojghfgggtgfesthekredtredtjeenucfhrhhomhepuforsggrshhtihgvnhcuufiihihmrghnshhkihcuoehsvggsrghsthhivghnrdhsiiihmhgrnhhskhhisegrrhhmrgguvghushdrtghomheqnecuggftrfgrthhtvghrnhephfefhfejjeffgfeiteejhfetvdeftdekudeltedvveelleeileffgedufeefvddvnecukfhppedtrddtrddtrddtpdekiedrvdegfedrudejiedrgeeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpqdhouhhtpdhhvghlohepphhlrgihvghrjeduiedrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehsvggsrghsthhivghnrdhsiiihmhgrnhhskhhisegrrhhmrgguvghushdrtghomhdprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrgh Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The eLCDIF controller on i.MX6UL/i.MX6ULL supports the alpha plane too. Enable it on these SoCs. Signed-off-by: Sébastien Szymanski --- While testing, I have noticed that the alpha plane works but sometimes the framebuffer is shiftted to the right. I tested with the following modetest command: modetest -M mxsfb-drm -s 37@35:800x480 -P 33@35:800x480@AR24 -F smpte,plain drivers/gpu/drm/mxsfb/mxsfb_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/mxsfb/mxsfb_drv.c b/drivers/gpu/drm/mxsfb/mxsfb_drv.c index 6faf17b6408d..95c35333c2d1 100644 --- a/drivers/gpu/drm/mxsfb/mxsfb_drv.c +++ b/drivers/gpu/drm/mxsfb/mxsfb_drv.c @@ -306,6 +306,7 @@ static const struct drm_driver mxsfb_driver = { static const struct of_device_id mxsfb_dt_ids[] = { { .compatible = "fsl,imx23-lcdif", .data = &mxsfb_devdata[MXSFB_V3], }, { .compatible = "fsl,imx28-lcdif", .data = &mxsfb_devdata[MXSFB_V4], }, + { .compatible = "fsl,imx6ul-lcdif", .data = &mxsfb_devdata[MXSFB_V6], }, { .compatible = "fsl,imx6sx-lcdif", .data = &mxsfb_devdata[MXSFB_V6], }, { /* sentinel */ } }; -- 2.26.2