From patchwork Tue Jan 8 17:04:23 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 1946961 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 00F6D3FED4 for ; Tue, 8 Jan 2013 17:07:32 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TscbE-00074i-5w; Tue, 08 Jan 2013 17:04:28 +0000 Received: from mail-vc0-f179.google.com ([209.85.220.179]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TscbA-00074F-Hf for linux-arm-kernel@lists.infradead.org; Tue, 08 Jan 2013 17:04:25 +0000 Received: by mail-vc0-f179.google.com with SMTP id p1so631801vcq.10 for ; Tue, 08 Jan 2013 09:04:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=tfD0TqSMMf2gtQ0aDCQ6QvYgovl6Dfl+VLIq0Nz8fo4=; b=vOUv+Q1AfvbtEAhKkMIdSMtqVPAoWwAhsHJ87jfxSHSKPG3/guNf6Z5tJs6sq9oGKr c/FbmoqMhfxCc1jsXG1hpqLQSJgI8XHO4x4+8XrZ4P3EdpCdkG40NJjM4l9CpAJKLUPC 9+2TTdDUbIaxHLjbF7eFIhptGBG2t+Q/AoGDdl+/jU4Nlp8b9mJFrYAz7lgBypCVUsTD Qezl4Un9U/9TmYpyTvItwmb+T4ChIkEKxI3QVSWWC+B1gVyT1smbIY/u9BfjPPGf4mF5 U0NOilujKLQGL3YC2o4n6gIfTauho3UmZGyRMVpqtQMVwHxJSn3t27MP4zTk1+fDveyZ 0lYg== MIME-Version: 1.0 Received: by 10.220.108.2 with SMTP id d2mr86151056vcp.60.1357664663373; Tue, 08 Jan 2013 09:04:23 -0800 (PST) Received: by 10.58.134.104 with HTTP; Tue, 8 Jan 2013 09:04:23 -0800 (PST) In-Reply-To: References: <1352733809-27230-1-git-send-email-s.hauer@pengutronix.de> <1352733809-27230-8-git-send-email-s.hauer@pengutronix.de> Date: Tue, 8 Jan 2013 15:04:23 -0200 Message-ID: Subject: Re: [PATCH 7/7] ARM i.MX51 babbage: Add display support From: Fabio Estevam To: Sascha Hauer X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130108_120424_755685_42DC58D0 X-CRM114-Status: GOOD ( 15.73 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (festevam[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.179 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: =?UTF-8?B?TWFyZWsgVmHFoXV0?= , Shawn Guo , kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org On Tue, Jan 8, 2013 at 2:41 PM, Fabio Estevam wrote: > Hi Sascha, > > On Mon, Nov 12, 2012 at 1:23 PM, Sascha Hauer wrote: >> The babbage board has a DVI-I output which allows to output analog >> and digital signals simultaneously. This patch adds support for it >> to the devicetree. The DDC signals are not wired up on the board, so >> DRM will fall back on default VESA modes. >> >> Signed-off-by: Sascha Hauer > > I am running linux-next 20130108, which has this patch applied and I > get the following on my mx51babbage: Ok, good news. I see a nice penguin on my monitor now. Discussed with Marek and he proposed a quick workaround: It seems that this issue happened because bootloader leaves the IPU turned on. Thanks, Fabio Estevam --- a/drivers/staging/imx-drm/ipuv3-crtc.c +++ b/drivers/staging/imx-drm/ipuv3-crtc.c @@ -343,6 +343,11 @@ static irqreturn_t ipu_irq_handler(int irq, void *dev_id) { struct ipu_crtc *ipu_crtc = dev_id; + if (!ipu_crtc->imx_crtc) { + pr_err("Spurious IPU IRQ\n"); + return IRQ_HANDLED; + } + imx_drm_handle_vblank(ipu_crtc->imx_crtc); if (ipu_crtc->newfb) {