Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2123256ybi; Thu, 4 Jul 2019 05:35:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqwyI+kDHrr1yGv73012jbLZqQ8W6uon0uuUiJ0bZN08ebRRL0FR4dP2J9yxw55jHsNSqEKg X-Received: by 2002:a63:4a51:: with SMTP id j17mr7079017pgl.284.1562243729978; Thu, 04 Jul 2019 05:35:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562243729; cv=none; d=google.com; s=arc-20160816; b=ygPlFS5L1x3jQ/DNXEBUUcH8uZPy3qiryjuu2vNt7GC8rCj9e3PYNXDYdW5j4zVa97 wBIoYCInL9Z+xq69zI+BPXnJ5oQddfMvEHejjn9sLOh4JW0oj70gQiUM0CYVFbs8WYTk cGVqqRmDyQVSURLCziT+tmgMuNXzdYLJEudf/3aUETDFbN21MzEX/mDp7OknqTgmlMuO 5n+dMQI6Yv9FfIBv9tPR7cnLL1mkX5pVOB7IcQktq7vH6WzFXg3Tztx/QHCYc3N6aej5 5PM1wqOk39tjAIg3gXvAa1yk4cMD+65BzAaSzPBoDkNw+GjROSaDwc86HJiaWrKAiZzJ rzhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:cc:to:subject:dkim-signature:dkim-filter; bh=mYLCby5nlISaQhXXuJdUjXravGum4plveihG8QiRIG4=; b=vPrlnqxoQxRJHrDHDKmPK1lejLF+3oY19Kbf1KkJFv/HYCKxRGP+7LrMP0WA0rLfAh MBnxXwnNOWifK4cfXJwLM+PwLRVDl+/YVRAEgCTaQ3uVk2v+heXh9CSYv4HcKVa5HbMz ZIKIhuF6Dc048xhz46HM/bqYc3ai7C4nJJ9ix0DHmryzWeXmUSifGzokEJXf1BZrJirh CsdSqMWBvLKV7OoYbsFykwNnGTX6k+XuhIvejdJOJF0ord5sYrk+sUhHNXS9d6nogshi EFD2mU6yqtI9PsgvOKNYOTSABfhrJ3brjymsEWBgthpFI7ZXK3x5GbdYnO4oFKezN3DA IWwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="imINaO/4"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n8si5633558pfa.223.2019.07.04.05.35.14; Thu, 04 Jul 2019 05:35:29 -0700 (PDT) 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 header.i=@samsung.com header.s=mail20170921 header.b="imINaO/4"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727760AbfGDMdl (ORCPT + 99 others); Thu, 4 Jul 2019 08:33:41 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:38945 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727698AbfGDMdl (ORCPT ); Thu, 4 Jul 2019 08:33:41 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190704123339euoutp027d6ca338251a7d56274f3d2e795abd96~uNEtlE8DU1753517535euoutp02P for ; Thu, 4 Jul 2019 12:33:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190704123339euoutp027d6ca338251a7d56274f3d2e795abd96~uNEtlE8DU1753517535euoutp02P DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1562243619; bh=mYLCby5nlISaQhXXuJdUjXravGum4plveihG8QiRIG4=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=imINaO/461IxCKbNTOJOzm9Xdv5whpFZyVnsuC1B0lK+MvJrA25yW1SfP78VtQRtv Nyf6m0/jwJYZjiSjN//7HUT/aXGHPzt97tvaxPTYjNO8XYayzuP+jco9tfJL0dGEVP 8Cjw3n13J/Te9elmM7ZIsT9nN/Kpcz7yky7chRPg= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190704123338eucas1p10d40920fbdb0b1427562f7df660946c3~uNEs9Mane2422424224eucas1p1O; Thu, 4 Jul 2019 12:33:38 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 12.0F.04377.222FD1D5; Thu, 4 Jul 2019 13:33:38 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190704123337eucas1p1514a97326732843cca28573659266158~uNEsNoJmH2133121331eucas1p1c; Thu, 4 Jul 2019 12:33:37 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190704123337eusmtrp1e0080ccb381db80ebe5f8beaca270666~uNEr-Y2G91415714157eusmtrp1B; Thu, 4 Jul 2019 12:33:37 +0000 (GMT) X-AuditID: cbfec7f4-113ff70000001119-60-5d1df222b385 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 7E.28.04146.122FD1D5; Thu, 4 Jul 2019 13:33:37 +0100 (BST) Received: from [106.120.51.74] (unknown [106.120.51.74]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190704123337eusmtip2c0b915691796defb198fd7bfae90e363~uNErkqYkS1170411704eusmtip2E; Thu, 4 Jul 2019 12:33:36 +0000 (GMT) Subject: Re: [PATCH 3/3] drm/bridge: ti-sn65dsi86: correct dsi mode_flags To: Jeffrey Hugo , Rob Clark Cc: "open list:DRM PANEL DRIVERS" , MSM , Sean Paul , Rob Clark , Laurent Pinchart , David Airlie , Daniel Vetter , lkml From: Andrzej Hajda Message-ID: Date: Thu, 4 Jul 2019 14:33:32 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 MIME-Version: 1.0 In-Reply-To: Content-Transfer-Encoding: 8bit Content-Language: en-US X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrEKsWRmVeSWpSXmKPExsWy7djPc7pKn2RjDS418Fn0njvJZPF/20Rm iytf37NZtC3/xmzROXEJu8XE/WfZLS7vmsNmce3nY2aL5wt/MFvc3XCW0YHLY3bDRRaPvd8W sHjsnHWX3WN2x0xWj+3fHrB63O8+zuTxeZNcAHsUl01Kak5mWWqRvl0CV0brjilsBRO4KiZe 2c7cwPiHvYuRk0NCwERi1dEdjF2MXBxCAisYJSYv+s8C4XxhlLjW28AO4XxmlFi15TNcy+Vz PawgtpDAckaJlceDIYreMkqc+n+cDSQhLOApsebaMkYQW0TAR2Ld/mXMIDazwBUmiaX3bEFs NgFNib+bb4LV8wrYSXTsmsACYrMIqEh8WrAerFdUIELi8pZdjBA1ghInZz4Bq+EUCJRou78C aqa8RPPW2VC2uMStJ/OZQA6SELjELrHiQjsLxNUuEn1XHrJC2MISr45vgfpGRuL05B6omnqJ +ytamCGaOxgltm7YyQyRsJY4fPwiUDMH0AZNifW79EFMCQFHiZfT/SFMPokbbwUhTuCTmLRt OjNEmFeio00IYoaixP2zW6HmiUssvfCVbQKj0iwkj81C8swsJM/MQli7gJFlFaN4amlxbnpq sVFearlecWJucWleul5yfu4mRmDKOv3v+Jcd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XWQaml8dmp999nmW2uDWdkizWKN6w0Mj1kdF0xQ8rh cONJla8GkUYTGphM73hp3WStXVTibZcV3Nk8L49lwauzRg+5dcJSevf8cL4jeXf7Qtn/+rWc 92773GLXFvdYUfEm9ILk59rv8gePKrEUZyQaajEXFScCAHzz3sfqAgAA X-CMS-MailID: 20190704123337eucas1p1514a97326732843cca28573659266158 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190702172346epcas1p29ebecfac70d87abb5379f00cdd1a913a X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190702172346epcas1p29ebecfac70d87abb5379f00cdd1a913a References: <20190702154419.20812-1-robdclark@gmail.com> <20190702154419.20812-4-robdclark@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02.07.2019 19:23, Jeffrey Hugo wrote: > On Tue, Jul 2, 2019 at 11:12 AM Rob Clark wrote: >> On Tue, Jul 2, 2019 at 10:09 AM Jeffrey Hugo wrote: >>> On Tue, Jul 2, 2019 at 9:46 AM Rob Clark wrote: >>>> - dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE | >>>> - MIPI_DSI_MODE_EOT_PACKET | MIPI_DSI_MODE_VIDEO_HSE; >>>> + dsi->mode_flags = MIPI_DSI_MODE_VIDEO; >>> Did you check this against the datasheet? Per my reading, EOT_PACKET >>> and VIDEO_HSE appear valid. I don't know about VIDEO_SYNC_PULSE. >> The EOT flat is badly named: >> >> /* disable EoT packets in HS mode */ >> #define MIPI_DSI_MODE_EOT_PACKET BIT(9) >> >> I can double check out HSE, but this was one of the setting >> differences between bootloader and kernel > Ah yeah, you are right. My eyes apparently skipped over the "disable". > > If the bootloader is not setting the HSE, then I can't think of a > reason why we would be having an issue also not setting it. > > Seems good to me > > Reviewed-by: Jeffrey Hugo > > Yes, the flags require cleanup. Reviewed-by: Andrzej Hajda  -- Regards Andrzej