Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp282512lqe; Sat, 6 Apr 2024 00:32:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXL94whSIC4Jk+bkk9ZcoSLsnrENQzz8DmjUze2KfcYvRaFEeZ55NzDBYwaiY4ypeBM+1qUjXVIADEfVJZAPvKHmrlFbucxtZco1IfA5A== X-Google-Smtp-Source: AGHT+IF5Fn+4qFa7FkVq3gMmZ60MBbnlDLZWl3hmS9fvZhNVD72urDuVALewqCDWjkJSTLJxRkbA X-Received: by 2002:ac8:7d8f:0:b0:434:3ab6:9b7e with SMTP id c15-20020ac87d8f000000b004343ab69b7emr3869792qtd.24.1712388778192; Sat, 06 Apr 2024 00:32:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712388778; cv=pass; d=google.com; s=arc-20160816; b=uY/M5gK/8lLRjjY73otlrGcn5kQfu8ZjnVnQsOHCHVkmiDyGDzbwZuAI8DuEZl3+EK P9QGeKPFK2u60yv2Gxr3RcdbQmlS398D6vC06DvE7qutv6WiuImo8pnyMpxLB4sq1x96 inmu9214XrX5oWZRob2kZm2DyFEgwnN7VLLhInQ0oQHq6rbZCf7tzrHrbRWRSPJOSUbG oJPsGCnGzkzIuRvA4zPwogiDYlnMjCiDBQvIL5qCUwc32tE5o/aKXcgizRj3iDjJbI5g tOacAP4bGMn/c1D20YxBj/54111Kl/8gbX88zg3huzlCOsmwe510Q3pRsFslEPF7tP7I eKJA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=013IZU5d3S0NSE/vfboHFT2kND7XDrhmbJn2/miWjio=; fh=+tcqJ/RFied7L7hjJIJd1rYnO28F/7h72GmzAp0OQBI=; b=bA5bg68wrLixtXBVXsw9L2m7ekt+d2i6Ml1Rk4/pDGB5cv+w4fqFTSO6JKY9YYm8Uy +PLN5/y21iDpcW8e++lZ16rrREAY9TGI5PpUUhAIBd5DJvqEtdHtqaLVB1GK8/Tsh65/ 8r9dRqQk5uNFwm+qXHrevbHQJlKQcSga69zqjJJh0QkSB1l04KhtBPmliB+dsQo73sHg keKQsxW7wpKHUMld8wJw8ogP8cJgmtu17MmvbDjfwlonm1wL1pHeqgdgPMEVIwvdfBwW Bh4QzTX8Sdm+nsbXDq+hokRHafzwWYKOvpxNtfgQP3xzbNEF0BX2YtG26la4D2OBiTjK X6eg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UfkW0fIo; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-133837-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133837-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id q12-20020a05622a030c00b0043461113b57si2949451qtw.248.2024.04.06.00.32.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Apr 2024 00:32:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-133837-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UfkW0fIo; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-133837-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133837-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id AD1191C2166D for ; Sat, 6 Apr 2024 07:32:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A743E22616; Sat, 6 Apr 2024 07:32:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="UfkW0fIo" Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4AF94A50 for ; Sat, 6 Apr 2024 07:32:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712388771; cv=none; b=n76C1yjh41LgfON6tWnfwoSSprTKVzObfNKaaVDCp4OB5NvakbjjF6gdN+e9qoAGW19u0lqIRRwtuoDxHAv9iFHuoiLW0+aBuMBd/ksuDsVScNubYMqtG2orWBH2JNj8PzJfCRtukwGfYWI5JZQ23sRvnv8eZW94ivE11Od7WXM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712388771; c=relaxed/simple; bh=NvlJkpe6XKljSOXj4+L2vY1E7yA0dzVePKq7ArdLk9U=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=jLszjHEq/dg3jkaKNx8fC3u6G3kyEX7rna9IuZTMKQTyR/RI0AaAmH6ZQ0gx1AiOPWPOzBwAOtLAO6IHESABK7sVDuMmRfewvNvCQKax8vvCW9lFyB2IoULxxEtvdqYz88TtjYnJNLhegK6QJqmuIhOcWgDnlsOnlnw6NNaSU9E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=UfkW0fIo; arc=none smtp.client-ip=209.85.218.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-f41.google.com with SMTP id a640c23a62f3a-a51addddbd4so119777766b.0 for ; Sat, 06 Apr 2024 00:32:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712388769; x=1712993569; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=013IZU5d3S0NSE/vfboHFT2kND7XDrhmbJn2/miWjio=; b=UfkW0fIoxTO9rIOmzYHUczE3ZwdqRPiAzSZ61qp7n1lG5o6zJkpf4i5C+ru9qJPCpV tOuhqGWjEcwc2ZNfpB1aldMEzYAAzS0r5UJmKe+gdpbwg/v7xHl/0f6OYRaMLOR5IZOd fXG9Ail4dUlWp6ItYGlmkr5Nud/a3XYSWS+2k4mhS5+7FHY594ObY3ShMUKJRMjBSXhh nU0d8oQL7+/m4zPER0FcEquMpxinhN9v8m+Et8d/CPJcRlnysPeoRv8SJVgHWJBhqolr hBvPKiqp8MZabKM5qeBlVXPIJBbiDIkRD9Ztxa9rPBEhTGfymhCJeAcquzkbEmmu82Ug dw4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712388769; x=1712993569; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=013IZU5d3S0NSE/vfboHFT2kND7XDrhmbJn2/miWjio=; b=ikf0j8VQINDKyV/TJm6elZ+LhNzHRyudFtofB0cO7N4983vBqdNJjtg0IjG2qYhB3q ywjeb5XnFlASdDKWCgwECdYfwZLhmsWqFD3pfMLr0UZQT8DNuy+kCITTKUq9BwFxczNG u8r8zm9QQ8Xgstgo4pI9Uad8iQERgmUYimNzWsnSQTBvuUOCAK+cQfLoM01fhYCSSefq 5Jo8+g+q/oH7mICda8v+hSHK6l5BoF7X6ks6A+KxoccBzc8uj1wytTGBfp2vo51YLtis w/v+5SZZJgh9FEBnUbz+CoZqAHN+18BR9hhFdQOi8DFkveuGK8lkwhslU8kvJg/TaXP4 OVFw== X-Forwarded-Encrypted: i=1; AJvYcCVoeNtPwI2NOLI2W8u94N9vAR2kx/rvnRjmPitGcuxdPUQPemr5oBbjDgru4U5Zsi2n5pal67jBgdLieNIT7q3NDHpTHNwZs1TQbAdn X-Gm-Message-State: AOJu0YwI5n4i0m2IGBduLdmpM/uXUXQufDs5f1iUAids1nyeUZ1xR0mf 8Tw4DL07WloRzmApIwh3VXfzvNQ+KUvY9CEBQG9nuvCiQ8UI2G1PpC1dL2+LUXZKLWc58EUn0wo 2EFi2/RxiYrcsuLFF+QX7a2mThug= X-Received: by 2002:a17:906:f909:b0:a47:3651:a302 with SMTP id lc9-20020a170906f90900b00a473651a302mr2066556ejb.42.1712388768454; Sat, 06 Apr 2024 00:32:48 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240405152951.1531555-1-nunes.erico@gmail.com> In-Reply-To: <20240405152951.1531555-1-nunes.erico@gmail.com> From: Qiang Yu Date: Sat, 6 Apr 2024 15:32:36 +0800 Message-ID: Subject: Re: [PATCH v2 0/3] drm/lima: fix devfreq refcount imbalance for job timeouts To: Erico Nunes Cc: anarsoul@gmail.com, dri-devel@lists.freedesktop.org, lima@lists.freedesktop.org, Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , christian.koenig@amd.com, megi@xff.cz, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Serial is Reviewed-by: Qiang Yu On Fri, Apr 5, 2024 at 11:31=E2=80=AFPM Erico Nunes = wrote: > > v1 reference: > https://patchwork.freedesktop.org/series/131902/ > > Changes v1 -> v2: > - Split synchronize_irq of pp bcast irq change into (new) patch 2. > > Erico Nunes (3): > drm/lima: add mask irq callback to gp and pp > drm/lima: include pp bcast irq in timeout handler check > drm/lima: mask irqs in timeout path before hard reset > > drivers/gpu/drm/lima/lima_bcast.c | 12 ++++++++++++ > drivers/gpu/drm/lima/lima_bcast.h | 3 +++ > drivers/gpu/drm/lima/lima_gp.c | 8 ++++++++ > drivers/gpu/drm/lima/lima_pp.c | 18 ++++++++++++++++++ > drivers/gpu/drm/lima/lima_sched.c | 9 +++++++++ > drivers/gpu/drm/lima/lima_sched.h | 1 + > 6 files changed, 51 insertions(+) > > -- > 2.44.0 >