From patchwork Fri Dec 18 14:10:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?S=C3=A9bastien_Szymanski?= X-Patchwork-Id: 11982053 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7CC0BC2BBCF for ; Fri, 18 Dec 2020 14:12:34 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3A07523AC2 for ; Fri, 18 Dec 2020 14:12:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3A07523AC2 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=armadeus.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ajPt5MYvqHSWJWsWdlF1DW7/b46s36lQd+JouVSnqSg=; b=A52xfGSYUfvib9iKKLmaptdHw Gjlz1mO2biPusdAFbXYppFaGC3CNJ0Q4O0in58FRmQ9cKkNcrxwOLbCK9x7uLmXcJ/pRW8CBOAjZL i8b/90ggo3ZMm9WK1DeD7ipVcPB+9FQ4au0nfJwqZRYMdu2i/fSHabg4e/yJf+6+fmzAurUk6cMEV gJ7kMs4PKabzWn+C+XZTFsSIxccqWoJ24UEF0x+yOYuIK1c/6fv1IVP7Av2t1FTnwopBQrFgW/JKB FHRETREEPCOYs4wCA8M77b8Gf1zhTHOcU/Esk10NhZU5FWedyHbUlo6/vJW8mxPguEj7xx1837iCM NcVTLo4WA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kqGTe-00010G-AB; Fri, 18 Dec 2020 14:11:26 +0000 Received: from 10.mo3.mail-out.ovh.net ([87.98.165.232]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kqGTb-0000zc-6H for linux-arm-kernel@lists.infradead.org; Fri, 18 Dec 2020 14:11:24 +0000 Received: from player716.ha.ovh.net (unknown [10.109.143.183]) by mo3.mail-out.ovh.net (Postfix) with ESMTP id 611DC2715EF 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_Szymanski?= 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 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 X-Ovh-Tracer-Id: 13296877900587553861 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedujedrudeliedgieduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufffkffojghfgggtgfesthekredtredtjeenucfhrhhomhepuforsggrshhtihgvnhcuufiihihmrghnshhkihcuoehsvggsrghsthhivghnrdhsiiihmhgrnhhskhhisegrrhhmrgguvghushdrtghomheqnecuggftrfgrthhtvghrnhephfefhfejjeffgfeiteejhfetvdeftdekudeltedvveelleeileffgedufeefvddvnecukfhppedtrddtrddtrddtpdekiedrvdegfedrudejiedrgeeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpqdhouhhtpdhhvghlohepphhlrgihvghrjeduiedrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehsvggsrghsthhivghnrdhsiiihmhgrnhhskhhisegrrhhmrgguvghushdrtghomhdprhgtphhtthhopehlihhnuhigqdgrrhhmqdhkvghrnhgvlheslhhishhtshdrihhnfhhrrgguvggrugdrohhrgh X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201218_091123_353500_31FA3A70 X-CRM114-Status: GOOD ( 15.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marek Vasut , Pengutronix Kernel Team , David Airlie , Stefan Agner , NXP Linux Team , Daniel Vetter , Fabio Estevam Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 */ } };