Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp795562img; Wed, 20 Mar 2019 11:02:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqz4ZRrQvLjijrWNlSrO+6Ut1Z+AyreBVxxLzTANSVaG4xNI7cJ23Zu/fYnjqbVcvCJeDOkR X-Received: by 2002:a65:6210:: with SMTP id d16mr8669011pgv.189.1553104951751; Wed, 20 Mar 2019 11:02:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553104951; cv=none; d=google.com; s=arc-20160816; b=L8j8ncSPsU3kHAkAwi9+ekapSP4o4lauT8jV/aIDhfiL08BtkbSzrE0kcetC47hKRR DaCEyYmusU38e7ioU8yjoqr+jOeJccpTkfZfXZsDBEl7Iw7EBD+X7nJ3UBFo6kmBjsS2 ZaufJZwpiCQ12ykrpyr9GBWi+8SYi20tuKQPy3m/QoOFXsc+SpogN+dZzuwa6T9Qv1bS 9VFzT9uWfc7i4lg1JgCR+LKLboqcB2Qi4e8Yauv7FVO82v4ewhWufRqsPyb9DpjqOLJ5 /JH2mElzcLCRMpuTHPlhTSZtEjFo5JalmB9enyczAmEGQBxOmR5GsN4GXBSK+7a0eg8R 9Yxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:sensitivity :importance:date:subject:cc:to:from:message-id:mime-version :dkim-signature; bh=9tH2ghkApVnMz7n/yhfv259gUGFq5ZYVCgKbFeaj0Mc=; b=MheYoIOJOe9XqAa1wdtdMKJHlsMBR8Hszq5n2d9tX/dNUk2FtPECVuM6F5LHaKkuSj 2elk8FhcoCvZPR5CVKhm31hcBw34Jfe+GHf0mkHIY5DPoAhyjmODYXVTY1hWOiWnWowo O5SNf9x8QjLq7myKCcn+YxSGFII5AK68hrpEF6b7Cci7yJ+0S3/jZYBtMHRwTPr5pmUy enLjWb8IaTXMD921DbCsZ/Q3HjyuDI9F7NUU7xQ3LVM6/QCDXso6Om5xv9apIpga1mkq PaHtAzLqMaBwESsSLZLfRLq4zsoacwZnBj+Ess+a5XOF84f5Jws/YmoXoxlTqwYm/cFE WFiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=g9xJiTNp; 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 y18si2262300plp.357.2019.03.20.11.02.16; Wed, 20 Mar 2019 11:02:31 -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=@gmx.net header.s=badeba3b8450 header.b=g9xJiTNp; 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 S1727235AbfCTSBZ (ORCPT + 99 others); Wed, 20 Mar 2019 14:01:25 -0400 Received: from mout.gmx.net ([212.227.17.21]:52419 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726438AbfCTSBY (ORCPT ); Wed, 20 Mar 2019 14:01:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1553104864; bh=nUVyKlHl35c8nxOoa32gQoeWkc5dic50c4J2+Vc1wEQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=g9xJiTNpQvhCALgIrlBYt8CrmScPML+9giZQPSqg8OIqSo07s82iBRvfhlu5aLXZH n+DCZ0toO5erO6o3pNy3Rv3/gOXs5a08/sp2yljp0eazzkDgUKK3GfaaSSUpGoLAd6 gbrDHtQc9q+3fY2u6rv2RdVOqARzb3ouIOi+y0vY= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [93.201.39.37] ([93.201.39.37]) by web-mail.gmx.net (3c-app-gmx-bs13.server.lan [172.19.170.65]) (via HTTP); Wed, 20 Mar 2019 19:01:04 +0100 MIME-Version: 1.0 Message-ID: From: "Frank Wunderlich" To: "Hsin-Yi Wang" Cc: linux-arm-kernel@lists.infradead.org, "Philipp Zabel" , "David Airlie" , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, "Matthias Brugger" , linux-mediatek@lists.infradead.org, "Daniel Vetter" , "CK Hu" Subject: Aw: [PATCH v2] gpu/drm: mediatek: call mtk_dsi_stop() after mtk_drm_crtc_atomic_disable() Content-Type: text/plain; charset=UTF-8 Date: Wed, 20 Mar 2019 19:01:04 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <20190320071825.20268-1-hsinyi@chromium.org> References: <20190320071825.20268-1-hsinyi@chromium.org> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:eeJnWdA8TZZ/sA2wz/iprhtBReAIBg1Wvu5lBcstd5alZEuedRcm64AW7wXAYZ2Kwq1Ok eSxWRwFGf6IfwRTnHEEqjhR6QtFZkcB2LzpQ2XrL2tvcgzmnUDQ/HC+LxQas6vTJfsqPZ7kC0euu f/2uHzOO7PaAP5T8mMqobKkDFPgl5bLfdq4Qy1dZNK0oERd/Kb5PycFeIXrwz/fwMljxIHQPnTZm pOFNCXOjqBFApy+fGtdDNG2sL64TrW3qKCAP/7eyva7p0mDI3e5T4iELJolEdvp/CWaIojbd9Maa GI= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:i9xwmo6armY=:juJ2E2jHvrNl6yFDYCDMkB w92qnu4UhLMbEc2AtbhjcILHkDS0rOc3b3gcr873yWaYWrk3A+VoF5cV1lW5/O1UW8ExoT2Rw h7BcYDnwhxykzRvuHchhibvMRdLc3EXhDPJMGyAxBzeZt1zGw0BwDLirVPRU+nWNq2wfB2B/h osWf4MZJCCsTE31cpqe7pyuJJefd0iizgPbj4RoiZKIBHvJOzYqPe2TpaPBUrvOVK1Iw4nh3X FbbtDf9y9aSO4Sy9SB+lRCUba2xufkz/wD0QgfswYvi0N2RiNKF9DsfnOAXfAZqCTq9a/IuxP IUqsz3RmbqC0isLRgFVty1FdLhRyomr1s791y6G5jBIR9UlW9t4tGp7P/1MF1qocaJecHMlTs oOUnaAR2vvhQ/QcGYWDNe3lY/NW0+p6wkF5QgeJSVTgDYtozmYu5+cXoSpTeqTc36MrsHM8jf uYXhedcftAhsQMeEzIzDsWAoK0TDW7jxC45lRbnuuKj2xNJuTsFeokaPdSfDx8ul07/kczQ/3 OId1fR9hHsEa61kzbBVn8VMfebfSOj41qgcqRv1aKWRgPA6FC+HRdPruekhcmkAb8dqf0xFKb 3Y79TsgLqKnBo= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, i hoped this fixes my warning (maybe have similar cause) on bananapi-r2/mt7623 [ 6.872034] WARNING: CPU: 2 PID: 160 at drivers/gpu/drm/drm_atomic_helper.c:1 430 drm_atomic_helper_wait_for_vblanks.part.1+0x2a4/0x2a8 [ 6.872038] [CRTC:36:crtc-0] vblank wait timed out ... [ 6.872127] [] (__warn) from [] (warn_slowpath_fmt+0x58/0 x74) [ 6.872136] r9:00000000 r8:00000001 r7:00000000 r6:00000001 r5:c0d7da9c r4:c 1008c48 [ 6.872145] [] (warn_slowpath_fmt) from [] (drm_atomic_helper_wait_for_vblanks.part.1+0x2a4/0x2a8) [ 6.872150] r3:00000024 r2:c0d7da9c [ 6.872154] r5:00000000 r4:d991f440 [ 6.872164] [] (drm_atomic_helper_wait_for_vblanks.part.1) from [] (drm_atomic_helper_wait_for_vblanks+0x24/0x28) [ 6.872172] r10:dae68f28 r9:dae68f38 r8:00000000 r7:d9f759c0 r6:d991ec00 r5:d9f759c0 [ 6.872175] r4:00000005 [ 6.872185] [] (drm_atomic_helper_wait_for_vblanks) from [] (mtk_atomic_complete+0x98/0xc0) [ 6.872194] [] (mtk_atomic_complete) from [] (mtk_atomic_commit+0xc8/0xcc) [ 6.872201] r7:d9f759c0 r6:dae68e40 r5:d991ec00 r4:00000000 [ 6.872211] [] (mtk_atomic_commit) from [] (drm_atomic_commit+0x54/0x60) [ 6.872219] r10:00000002 r9:d9f74eac r8:00000001 r7:d98d5700 r6:d991ec00 r5:d9f759c0 [ 6.872223] r4:00000000 r3:c060af2c [ 6.872234] [] (drm_atomic_commit) from [] (restore_fbdev_mode_atomic+0x1d4/0x1e4) [ 6.872241] r7:d98d5700 r6:00000001 r5:d991edb0 r4:d9f759c0 [ 6.872251] [] (restore_fbdev_mode_atomic) from [] (restore_fbdev_mode+0x5c/0x194) [ 6.872260] r10:00000000 r9:d991ecdc r8:d98d57b4 r7:00000000 r6:d98d5700 r5:d98d5700 [ 6.872263] r4:00000000 [ 6.872274] [] (restore_fbdev_mode) from [] (drm_fb_helper_restore_fbdev_mode_unlocked+0x64/0xb0) [ 6.872282] r10:00000000 r9:d991ecdc r8:d98d57b4 r7:00000000 r6:c10824c8 r5:d98d5700 [ 6.872285] r4:00000000 [ 6.872296] [] (drm_fb_helper_restore_fbdev_mode_unlocked) from [] (drm_fb_helper_set_par+0x40/0x64) [ 6.872304] r9:d991ecdc r8:d991ec8c r7:c0d82d88 r6:d98d57b4 r5:00000000 r4:00000000 [ 6.872315] [] (drm_fb_helper_set_par) from [] (drm_fb_helper_hotplug_event.part.11+0xb0/0xb8) [ 6.872319] r5:00000000 r4:d98d5700 [ 6.872330] [] (drm_fb_helper_hotplug_event.part.11) from [] (drm_fbdev_client_hotplug+0x13c/0x1d8) [ 6.872337] r7:c0d82d88 r6:d991eca0 r5:d991ec00 r4:d98d5700 [ 6.872348] [] (drm_fbdev_client_hotplug) from [] (drm_client_dev_hotplug+0x84/0xc0) this crash also happens without fbdev-patch my codebase: https://github.com/frank-w/BPI-R2-4.14/commits/5.1-hdmi regards Frank