Received: by 10.192.165.148 with SMTP id m20csp4680926imm; Tue, 24 Apr 2018 06:50:08 -0700 (PDT) X-Google-Smtp-Source: AIpwx49I/w0T/GOF9UCmO7q5qA/QQUZZU+E0ZD6tReC8UFXqaXrPN8sYtBZn1sFBMUoPXIiejruA X-Received: by 10.98.11.3 with SMTP id t3mr24150974pfi.32.1524577808542; Tue, 24 Apr 2018 06:50:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524577808; cv=none; d=google.com; s=arc-20160816; b=ov8+cfUlLJgE7M7wFshVKTK9OvqMZYnohMUfZXHYHAaD2ydU61Q3FKxM5x6Vy3cfPX I44mQ5RSGmcAliti0RBYNRTNfeHDolvCWQ7VVcS+AclSArzM1NSf/bPFCg2zdZfmXNL9 MT0nIlbCnEbnsGBFIgGvuHOwgikp47+VI4/rTxU7+rmEATKioForvD45Q6KLDxfOMLJg NA0H+7Y+epGDf1luoElfl5JXFxijVzQCjTdhIt4ws8XCvwzMB58WPCiCpCDxjOD+BPuC jHzyzgLiubpYNxqztB9aZAnN6zZIqBXc374MP5dazJ542LwFx5iqsTxtuuukgXjrY0n7 hNaA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=BVFGmx5gO7Bv9yMEPgcJLoVbalHsEMlZyCp+Y6Db4RI=; b=KCPgWfcTVASq+GeL4T0A3QahNjz1dSnWoIk2LUCI+dHbsP3UzJ+LsXKZqQJHKozn3y z5FKm1k46nt/SqyfRP4V/XiRu/gspJCtrhwgB2X3CA0X/IhTHbTzvOMl2jEEIy3M7BeP TdN2tUUSYCRVyDtGoaSiX9ab4hmOmjFm0Bw58bLFdAdXe2BcaMEVeTQ1ijp/GK42OPtf fBGB9VDht9DhNdWBvflUmF1y6h3FWnkiOzj/SHToCcPEJu2aY8SsIKKKCZIi7lUQZeyA G2onO++OWeXN+l5IQYnZU6vlGxhKg/anoYlHyE8LSQmSY2r2rz00MB0vc/zymtfC6v6v 0tQQ== ARC-Authentication-Results: i=1; mx.google.com; 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 s83si12902609pfg.175.2018.04.24.06.49.54; Tue, 24 Apr 2018 06:50:08 -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; 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 S1758128AbeDXNrz (ORCPT + 99 others); Tue, 24 Apr 2018 09:47:55 -0400 Received: from vegas.theobroma-systems.com ([144.76.126.164]:46574 "EHLO mail.theobroma-systems.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756377AbeDXNrw (ORCPT ); Tue, 24 Apr 2018 09:47:52 -0400 Received: from [86.59.122.178] (port=49724 helo=ju27.lan) by mail.theobroma-systems.com with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1fAyIC-0001f8-FN; Tue, 24 Apr 2018 15:47:36 +0200 Subject: Re: [regression, bisected] rockchip rk3399 video output breakage To: JeffyChen , linux-kernel@vger.kernel.org, Joerg Roedel , linux-rockchip@lists.infradead.org Cc: klaus.goger@theobroma-systems.com, Huang Jiachai References: <3beabd18-0c39-be65-cfe7-8498dc7c296b@theobroma-systems.com> <5ADF24F3.6070106@rock-chips.com> <5ADF321E.4060408@rock-chips.com> From: Jakob Unterwurzacher Message-ID: <179239ba-0833-945c-0c2f-26fd9b7c2755@theobroma-systems.com> Date: Tue, 24 Apr 2018 15:47:35 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <5ADF321E.4060408@rock-chips.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 24.04.18 15:33, JeffyChen wrote: >>> [   36.076577] WARNING: CPU: 1 PID: 83 at >>> drivers/gpu/drm/rockchip/rockchip_drm_vop.c:1004 >>> vop_crtc_atomic_flush+0x1c0/0x1c8 > > this looks like an issue recently reported by heiko, we found that might > due to an unbalanced irq disable in vop driver. > > my test patch is: > > +++ b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c > @@ -1601,6 +1601,8 @@ static void vop_unbind(struct device *dev, struct > device *master, void *data) >  { >         struct vop *vop = dev_get_drvdata(dev); > > +       // Pair with the initial disable_irq() > +       enable_irq(vop->irq); > > > > and i think sandy would send the real patch soon(maybe already sent?) Works fine with your patch! Thank you very much Jeffy. Best regards, Jakob