From patchwork Mon Sep 14 08:39:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Krzysztof_Ha=C5=82asa?= X-Patchwork-Id: 7173881 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9FEAABEEC1 for ; Mon, 14 Sep 2015 08:41:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BFA64206E5 for ; Mon, 14 Sep 2015 08:41:29 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 53A8B206CE for ; Mon, 14 Sep 2015 08:41:28 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZbPIh-0001Ah-Br; Mon, 14 Sep 2015 08:39:47 +0000 Received: from ni.piap.pl ([195.187.100.4]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZbPIe-0000u4-7k for linux-arm-kernel@lists.infradead.org; Mon, 14 Sep 2015 08:39:45 +0000 Received: from t19.piap.pl (OSB1819.piap.pl [10.0.9.19]) by ni.piap.pl (Postfix) with ESMTP id 78553440EAF; Mon, 14 Sep 2015 10:39:15 +0200 (CEST) From: khalasa@piap.pl (Krzysztof =?utf-8?Q?Ha=C5=82asa?=) To: linux-arm-kernel Subject: Re: I.MX6 HDMI support in v4.2 References: <20150907112555.GS21084@n2100.arm.linux.org.uk> <1441709778.13536.8.camel@pengutronix.de> Date: Mon, 14 Sep 2015 10:39:15 +0200 In-Reply-To: <1441709778.13536.8.camel@pengutronix.de> (Lucas Stach's message of "Tue, 08 Sep 2015 12:56:18 +0200") Message-ID: MIME-Version: 1.0 X-KLMS-Rule-ID: 1 X-KLMS-Message-Action: clean X-KLMS-AntiSpam-Lua-Profiles: 83657 [Sep 14 2015] X-KLMS-AntiSpam-Version: 5.5.6 X-KLMS-AntiSpam-Envelope-From: khalasa@piap.pl X-KLMS-AntiSpam-Rate: 0 X-KLMS-AntiSpam-Status: not_detected X-KLMS-AntiSpam-Method: none X-KLMS-AntiSpam-Moebius-Timestamps: 3735278, 3735333, 3735306 X-KLMS-AntiSpam-Info: LuaCore: 269 269 9b9cf7f0bbae52f9eb3fc84ffb3f3a514779f9fa, {Dosetcrawler: probable amspam}, Auth:dkim=none X-KLMS-AntiSpam-Interceptor-Info: scan successful X-KLMS-AntiPhishing: Clean, 2015/09/11 16:28:19 X-KLMS-AntiVirus: Kaspersky Security 8.0 for Linux Mail Server, version 8.0.1.721, bases: 2015/09/14 02:23:00 #6478098 X-KLMS-AntiVirus-Status: Clean, skipped X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150914_013944_459509_F190FC1C X-CRM114-Status: UNSURE ( 8.62 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Russell King - ARM Linux , Lucas Stach Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Another round of tests, I noticed the new git versions :-) Testing Linux v4.2 + PLL5 DTS patch (for HDMI output with enabled LVDS). Using mplayer with YUV420 (DRM Xvideo would probably work with packed UYVY-alike formats but I need YUV420 because H.264 decoder produces it). The driver is git://ftp.arm.linux.org.uk/~rmk/xf86-video-armada.git, branch unstable-devel, and it uses git://ftp.arm.linux.org.uk/~rmk/libdrm-armada.git/. IMX DRM Xvideo output: Only unscaled video: no color (luminance is good but the color components are green). The driver doesn't use color information. I hope this is easily fixable. rmk/drm-etnaviv-devel: With unscaled video, the only visible problem is tearing in the middle of the screen (unability to sync with screen refresh). With scaling, I'm getting horizontal lines (mostly visible when the scene changes) and some sort of stalls - sometimes two frames are alternating for few seconds then it goes forward. pengutronix/etnaviv-for-upstream: No etnaviv Xvideo: (==) armada(0): Backing store enabled (==) armada(0): Silken mouse enabled (EE) armada(0): etnaviv: unable to open: Not a directory (WW) armada(0): [drm] Vivante initialization failed, running unaccelerated I assume I need a newer something. pengutronix/v4.2/topic/etnaviv-for-rmk: It requires: Likewise, no etnaviv XVideo: (--) armada(0): Vivante GC320 GPU revision 5007 (etnaviv) 2d PE2.0 (EE) armada(0): etnaviv: unable to create context: (null) (WW) armada(0): [drm] Vivante initialization failed, running unaccelerated Comments? --- a/drivers/base/dma-contiguous.c +++ b/drivers/base/dma-contiguous.c @@ -216,6 +216,7 @@ phys_addr_t dma_get_contiguous_base(struct device *dev) { return cma_get_base(dev_get_cma_area(dev)); } +EXPORT_SYMBOL(dma_get_contiguous_base); /* * Support for reserved memory regions defined in device tree