Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp523031pxv; Fri, 9 Jul 2021 03:25:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvFAovmDH0tAykap8FLYPwnYTYIv+BiXtwNWRCOY28OkALE6SmVbAuAErnRLJbyU8eqCab X-Received: by 2002:a17:906:5d13:: with SMTP id g19mr37360664ejt.90.1625826327363; Fri, 09 Jul 2021 03:25:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625826327; cv=none; d=google.com; s=arc-20160816; b=cWmFUg+mS1tG55+ww07hmlp90YMOiDZVTHaK1lG6z8CG8Dkwyk0yQHsy6b3hS02psm lWP044840+tyWOJvKEVOxKBsTluP3SDCXZ2655HvoCvoHOtKdFDfttj3lwaRlKICImFt 1JxpkiIM9pz1ig+q0RdtD4yWTIWUBVzi72FdoJAxzK77j5gzcrg3XXr+WO7aDJwMZvYF n1UKpf8Ny5DCgNTjMTs4lvrqGLNA/1e93l/Xy+1qbfrO4+SiGVBph2nOaq8U+VFQ86N3 ojq2KiG3E+9BFfVlcR1Ajf44vSMh/K2dmiK1bQJ0olQB0KO6SSG8ORyq271ufeXglnaC diUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=LrFysvGtZpqXVqpBVFoh0317yBisoNGnai+6UrvUk7k=; b=u+RTp5fILytp40CtQhOfrW+OPUf420EsYYYA+FjRzvJbAJb5XIoH+S+lGgoklkmdhE 7NOATLyD5ptzU13yh+Bw64qDrOWdPkMmqv3FNXNJ+HgtkdicJIk00kPxa+8a9PFo0D/W IqVb9q8+lu834H0IpuEKkf5+DJSSXggYK3o6490UyUIkJhVLtlviZ1OTTZYb+I0ESjoE UtMnw8wRPbi1eSyr38uTfRXi8lGKIk909T6w+lYlsTZLCTKtZeXh8kect6S5j+utdOZC hnJjrJWOmBtyWMoIoF2USpfutiOdPu9HGU3WGKeBBQyR8ZN99x2FUV8lP4i7k678ZLzB PlyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TH32T0Av; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r11si3268842eja.61.2021.07.09.03.25.04; Fri, 09 Jul 2021 03:25:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TH32T0Av; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232050AbhGIK04 (ORCPT + 99 others); Fri, 9 Jul 2021 06:26:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232006AbhGIK04 (ORCPT ); Fri, 9 Jul 2021 06:26:56 -0400 Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BFD4C0613DD for ; Fri, 9 Jul 2021 03:24:12 -0700 (PDT) Received: by mail-oi1-x229.google.com with SMTP id h9so11670196oih.4 for ; Fri, 09 Jul 2021 03:24:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LrFysvGtZpqXVqpBVFoh0317yBisoNGnai+6UrvUk7k=; b=TH32T0AvvOADtM+gmhIZoLk/+/VEDgzB5+2M0dUWVpSlBWUGlcOaz0BiLzu9BEvsI+ Wl3Ao7p2GuOroM7UgOJtOTW/Nrwu0d12j/xKbLQrT9HNu0oCj2PsRAH6kg9nA/4D1yRq jxtGLz58Ov6MihaI1QaS8RgtshCmSicenMxWvy4G6ArIxwlL2fRM2NYNfluSsDBfFU35 hV5Lqt9gMApLQccW3XUIEmRS7e9METSeTqQ33tUz5Mh7JVlvDODuEU0z0aa+Mu28EfSQ IsilitjiyfVYBBHAn8g/Pv19QG/EupZX7p9md9W2Ot7f9uJz4JgIWCi1uonZ0ZALvKHw yaKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LrFysvGtZpqXVqpBVFoh0317yBisoNGnai+6UrvUk7k=; b=QwLOJ/ctlow9OIryftzumdi4P5D0Gc3mLFdfrmm9Oa9o3SGxowpf9cdJol2kPOQyD4 mD5zkhWmG6krmaL8tZdL/tCE2BfYYP5GBNkKPV7hA1Xu8Q2VSSHoqRZ+br323uru0VV7 4ilPAjVsImBiiKAmeUJZfLCDb9q8wJ/DPhHAHhUK9FDIu+3w4L0Kx8hjej0ae8eRJK1E fKC/EszO0gpVC8KItkRq0TS+x9TRgeuJVbPHmZJDo805mxjJ06hjLncxCJL27A79hcyI QVWSSna/tBweP0gz5fnD1c5SGk0aN/Tb1heiFfEQJJle+oT2SzVImaKnfSBrhjBMO3Be VbbQ== X-Gm-Message-State: AOAM531dv7BEPVP+pfS6N2AS8B4WQBMQibw92W7aqbUsEigtgcfRpY28 ULf5e7DlbyGHiVJxuvDjyypdRTYcnR5j+pdbPVw= X-Received: by 2002:aca:cf82:: with SMTP id f124mr20633162oig.47.1625826251840; Fri, 09 Jul 2021 03:24:11 -0700 (PDT) MIME-Version: 1.0 References: <25d61873-38ae-5648-faab-03431b74f777@collabora.com> In-Reply-To: From: Enric Balletbo Serra Date: Fri, 9 Jul 2021 12:24:00 +0200 Message-ID: Subject: Re: Re: BUG: MTK DRM/HDMI broken on 5.13 (mt7623/bpi-r2) To: Frank Wunderlich Cc: CK Hu , Dafna Hirschfeld , chunkuang Hu , Thomas Zimmermann , David Airlie , linux-kernel , Enric Balletbo i Serra , "moderated list:ARM/Mediatek SoC support" , dri-devel , Matthias Brugger , Collabora Kernel ML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Frank, Missatge de Frank Wunderlich del dia dv., 9 de jul. 2021 a les 12:02: > > Hi, > > i've found it :) > > hdmi-problem is caused by > > commit 440147639ac79f699a4eb9811d0bc39d3cc815f4 > Author: CK Hu > Date: Wed Mar 17 19:17:10 2021 +0100 > > soc: mediatek: mmsys: Use an array for setting the routing registers > > but i cannot revert it alone, but after reverting all mmsys-patches hdmi works (ovl irq-handler called) > If this is the offending commit, could you try if the following patch fixes the issue for you? https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/commit/?h=v5.13-next/fixes&id=db39994e0bd852c6612a9709e63c09b98b161e00 If not, and that patch is the offending commit, it probably means that the default routing table doesn't work for mt7623. Needs a specific soc table. Thanks, Enric. > $ git logone v5.12..v5.13-rc1 -- drivers/ | grep 'mtk\|mediatek' | grep mmsys > 060f7875bd23 2021-04-05 soc: mediatek: mmsys: Add support for MT8167 SoC > 1ff1270fca33 2021-03-30 soc: mediatek: mmsys: Add mt8183 mmsys routing table > 440147639ac7 2021-03-17 soc: mediatek: mmsys: Use an array for setting the routing registers > ce15e7faa2fc 2021-03-17 soc: mediatek: mmsys: Create struct mtk_mmsys to store context data > > git revert 060f7875bd23 1ff1270fca33 440147639ac7 ce15e7faa2fc > > and after reapplying them one-by-one it stops working on commit above (440147639ac7) > > @Dafna can you confirm it solves your issue too? > > btw. watchdog issue is caused by > > commit bbece05c0d3a96817483e0b249ad1e302ba95117 > watchdog: mtk_wdt: Remove mtk_wdt_stop() in probe() to prevent the system freeze and it doesn't reboot by watchdog problem > > have already contacted author > > regards Frank