Received: by 10.223.164.202 with SMTP id h10csp424797wrb; Wed, 8 Nov 2017 19:46:45 -0800 (PST) X-Google-Smtp-Source: ABhQp+RJQuwQLk/JJtiH5KzlvZgN2yJXkc+y+do19LMVLg56qe2Wz3DMCS77IOoNah1mAQThy+/z X-Received: by 10.101.85.72 with SMTP id t8mr2537418pgr.211.1510199205145; Wed, 08 Nov 2017 19:46:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510199205; cv=none; d=google.com; s=arc-20160816; b=KaTCPOyHEv3FDc2tpSvCdT41ipIm8HNnL6q4k871NtTINTObphoSatmlBS4n66NaGr VJvBaRKtMI3vcv4cixUGrvT5wzfnxBuklEZKiaXBM6VHmFhiRc8PNvvmKPRaGHbdP/Ls Te1TYoLu+0/msaGa7cp4vOM+scsMzM0vqdl5/T5HmwmyKz5raT0rWWVzA7R58d+tQEBZ P+qJldhQEX3vD1diQs+4CJPYKMz0V+vqNWpqc1p77hKZeg0mCJge6oOfEBammI3FvDSN QynjynAAF4JaP5PasBo6/sCl7fd73saZbBLiIlPbvCeILQRNm4Flywcz7YpMVdQ4cSWi N10Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:organization:message-id:date:subject:cc:to :from:dkim-signature:arc-authentication-results; bh=OEm8CQKJZAtR0gH1/ULngG2PsQgNDBYpLwjRNlqXnbg=; b=ggqnuarlnpCfhIXOomTOfsAF/n2rxHDNTf5EbGC5zFAYPLo/iwAb0WW11PLu4T79T/ Rsr8GLGgw8Y6HO/LArCpGu3LpJD1m4mRB3wbzXw/6uGB/9hpkgBK848sSOCVp0fo8RVL UpuZfoj8Rm/AL5mhtBc88GTZ0zTyfpp911Hl1GhSS2NsnAyoP4fsux6FtdpmttVgImoJ FQikxcnsvTsFBuddvMVWpxEjimAbNh/DGBXagaagEgPMk4eo4VURTseVnBPnmdBiJE1L 1oE2VsMB6UIjU4VKuVsOSipgxn4fwZUrmPasCyYU0N9xVqx21qtCALQFvqT5vs0MLiHT qcPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=NYxqZx8z; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j17si5235636pll.365.2017.11.08.19.46.33; Wed, 08 Nov 2017 19:46:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=NYxqZx8z; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752467AbdKIDpu (ORCPT + 82 others); Wed, 8 Nov 2017 22:45:50 -0500 Received: from galahad.ideasonboard.com ([185.26.127.97]:50247 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752412AbdKIDpq (ORCPT ); Wed, 8 Nov 2017 22:45:46 -0500 Received: from avalon.localnet (unknown [182.232.171.229]) by galahad.ideasonboard.com (Postfix) with ESMTPSA id 4C5FF20BA3; Thu, 9 Nov 2017 04:44:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1510199061; bh=n4RhayLpmMCUpXJUKgahVrhBOia4vlaJ+cM5tFT7Wxs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NYxqZx8z4RY9cXsPIlt9jwJH4NOaReGfQ5nT5XqNRJiwyaIlmcaNL4NNwMxJofhO/ uwfPzDpLnKdBpcx/kiwxXH+IslEI909DImNzIF6DRSU/VcRpczv+giJeOG4GnZ6zGZ UYK20vYao73T05k16Vb2Gauyavfj08v7goEHBrq4= From: Laurent Pinchart To: "H. Nikolaus Schaller" Cc: Thierry Reding , David Airlie , Rob Herring , Mark Rutland , =?ISO-8859-1?Q?Beno=EEt?= Cousson , Tony Lindgren , Russell King , Tomi Valkeinen , Bartlomiej Zolnierkiewicz , Julia Lawall , Sean Paul , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-fbdev@vger.kernel.org, letux-kernel@openphoenux.org, kernel@pyra-handheld.com Subject: Re: [PATCH 4/4] omapdss: fix problem enabling VDDS_DSI on OMAP3530 (OpenPandora) Date: Thu, 09 Nov 2017 05:45:36 +0200 Message-ID: <3397395.9drm9Essi0@avalon> Organization: Ideas on Board Oy In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Nikolaus, Thank you for the patch. On Wednesday, 8 November 2017 23:09:32 EET H. Nikolaus Schaller wrote: > commit d178e034d565 ("drm: omapdrm: Move FEAT_DPI_USES_VDDS_DSI feature to > dpi code") > > introduced a new match table which turned out to be wrong, at least > for the 600 MHz OpenPandora using the OMAP3530. > > The effect was strange: only the Blue channel of the RGB panel was > driven while Red and Green stayed black. So a coloured picture turned > into blue/black. > > The GTA04 with DM3730 didn't show the effect. > > It turned out that VDDS_DSI was not properly initialized on OMAP3530, > because the .family string is just "OMAP3" for these processors and > not "OMAP3xxx". > > Therefore we match the .machine attribute. > > Signed-off-by: H. Nikolaus Schaller I've already submitted a similar patch (but without the problem pointed out below) in the mail thread where we discussed the issue. It is customary to use the first patch posted (unless it is utterly broken of course). Could you thus please include it in this series in replacement of this patch ? > --- > drivers/gpu/drm/omapdrm/dss/dpi.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/omapdrm/dss/dpi.c > b/drivers/gpu/drm/omapdrm/dss/dpi.c index 4ed5fde11313..aae3626910bb 100644 > --- a/drivers/gpu/drm/omapdrm/dss/dpi.c > +++ b/drivers/gpu/drm/omapdrm/dss/dpi.c > @@ -566,8 +566,7 @@ static int dpi_verify_pll(struct dss_pll *pll) > } > > static const struct soc_device_attribute dpi_soc_devices[] = { > - { .family = "OMAP3[456]*" }, > - { .family = "[AD]M37*" }, > + { .machine = "OMAP3[456]*" }, You also need { .machine = "[AD]M37*" }, otherwise there will be no match for the OMAP3-like AM37xx and DM37xx SoCs. Another option would be to match on { .family = "OMAP3*" } but there could be spurious matches, even though I haven't identified any. > { /* sentinel */ } > }; -- Regards, Laurent Pinchart From 1583533821952650635@xxx Wed Nov 08 21:12:15 +0000 2017 X-GM-THRID: 1583533821952650635 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread