Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/2232198/?format=api
{ "id": 2232198, "url": "http://patchwork.ozlabs.org/api/1.2/patches/2232198/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-tegra/patch/20260503163842.213489-3-clamor95@gmail.com/", "project": { "id": 21, "url": "http://patchwork.ozlabs.org/api/1.2/projects/21/?format=api", "name": "Linux Tegra Development", "link_name": "linux-tegra", "list_id": "linux-tegra.vger.kernel.org", "list_email": "linux-tegra@vger.kernel.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260503163842.213489-3-clamor95@gmail.com>", "list_archive_url": null, "date": "2026-05-03T16:38:42", "name": "[v2,2/2] drm/tegra: gr2d/gr3d: Contain PM in the gr*d_probe/gr*d_remove", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "5d78f9d7b2ce4ab232827218f83f80918ce6c996", "submitter": { "id": 84146, "url": "http://patchwork.ozlabs.org/api/1.2/people/84146/?format=api", "name": "Svyatoslav Ryhel", "email": "clamor95@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-tegra/patch/20260503163842.213489-3-clamor95@gmail.com/mbox/", "series": [ { "id": 502581, "url": "http://patchwork.ozlabs.org/api/1.2/series/502581/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-tegra/list/?series=502581", "date": "2026-05-03T16:38:40", "name": "drm/tegra: gr2d/gr3d: Move pm_runtime_enable to gr*d_probe", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/502581/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2232198/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2232198/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linux-tegra+bounces-14147-incoming=patchwork.ozlabs.org@vger.kernel.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linux-tegra@vger.kernel.org" ], "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=SXKe65j3;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.234.253.10; helo=sea.lore.kernel.org;\n envelope-from=linux-tegra+bounces-14147-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.b=\"SXKe65j3\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=209.85.208.50", "smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com", "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=gmail.com" ], "Received": [ "from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g7r8l3v6gz1yJV\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 04 May 2026 02:39:35 +1000 (AEST)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id CF3C43016EEC\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 3 May 2026 16:39:00 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id B68E43CE4BF;\n\tSun, 3 May 2026 16:39:00 +0000 (UTC)", "from mail-ed1-f50.google.com (mail-ed1-f50.google.com\n [209.85.208.50])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 00F193CCFDC\n\tfor <linux-tegra@vger.kernel.org>; Sun, 3 May 2026 16:38:58 +0000 (UTC)", "by mail-ed1-f50.google.com with SMTP id\n 4fb4d7f45d1cf-676a89de629so5096783a12.1\n for <linux-tegra@vger.kernel.org>;\n Sun, 03 May 2026 09:38:58 -0700 (PDT)", "from xeon ([188.163.112.56])\n by smtp.gmail.com with ESMTPSA id\n a640c23a62f3a-bc1ffd6f8e9sm44126066b.13.2026.05.03.09.38.56\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Sun, 03 May 2026 09:38:56 -0700 (PDT)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777826340; cv=none;\n b=Q4CPjbWeqypLOgXUC5heRn85j0fQgpA7mb0xIEBALcey7ZJRMbLc8v+1wbw4aFjC/smjuteF8pvNk3/mKo/MIuINmzbuQOhjwAvkWN6BMiZ0/20fLjy83mDSkUes2JwqyM69uChdIYpBIwq/ZsoqVrI/a4qOUUg5mFcKBHpQjTI=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777826340; c=relaxed/simple;\n\tbh=AyWMMyopNlz3aLBzj+mvuEqAZeArX1R9CyGPe7VtR3M=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=rM7GpydDBZMLa7WZ3UTUh0BHBEItpoGnsdOaDtLykJXN9PQoeG2Ob4mLmAZdZbsnuBoLRNTPSta/tIRX0ISTjCE0+WivBeTG9IM8pwZW6YLgfQFmzyZHaqeCGMR2Mit82b7UBfsmPQcYJjox4M027aZogFROdjTAwa1oY5mNaLk=", "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com;\n spf=pass smtp.mailfrom=gmail.com;\n dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.b=SXKe65j3; arc=none smtp.client-ip=209.85.208.50", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1777826337; x=1778431137;\n darn=vger.kernel.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=8zyB3mnhxYbuCPwW5Ny1cCWwB0U69BU8Ai2teNpQO6Y=;\n b=SXKe65j3rYeMQh+vogq0kCwKtpBTtYCy1d1T85Ddirt0jf715Kd+r5om2fcmkX8xum\n F708ZSx2i2/mDhuaj+V/VDWMu9Ar96kY8Y5959Qvlq5Pfuwx4rDN670eDkmQKxwHho38\n xVBTXZNkDYClmvT+7X2KKh0JEINdqvT/fpiB+tlU79ypkhb/mVpxMuuGsk7h14v2V4sc\n FZ9Nx7cRhbVQgVgwj6lm8gzEDY7XUdAcXHjYi1MfKN+5ErDDNJT4gf8UTDmI1HJLjhlU\n 2QcRFDAjuSHFMsF2uB+//2O3m/h2xithJs88sTOb0KEPjDRjW3Rxj2Ub2r5sRRvwOY1H\n Y2YA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777826337; x=1778431137;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=8zyB3mnhxYbuCPwW5Ny1cCWwB0U69BU8Ai2teNpQO6Y=;\n b=lwXvP6R9qQf3iPLdNUjv4z8Y/0YBh94qvQgttRT0rsShnqfjscXSF9oVpORZlEdUjU\n vPOIxBRgQBqgt141SSuUhmkXCpH+rgZC/RffCOujsxf+SekKhlqB06A0LkVxrEygMGVm\n eM79Yd/gaeeebDGs0G6c4daRiULH4gkcWi0CCwqhBjnuD5qyl2nHStlwR7XgzF4CGyS9\n KcJtqY6ajLuV8+svh/euyMNJUTLrN4mC9lImnXeOZ8ubKae4McES+yNU3+/YhzmRyrL9\n FMxNv/TiSD+J9aZ5eMx0jrTn/Wyzhp1CD0tWm6aGZ6FrDyh92bXfsWQhwuBBxHbQuIwC\n gj/g==", "X-Forwarded-Encrypted": "i=1;\n AFNElJ+KL7kJin5BpddeTJpahzI8HSbfPody8DtLvv4GzWUjrIsf4tlbugLrhCJFOb/Y2VQAwEkaLGUhVqCPpg==@vger.kernel.org", "X-Gm-Message-State": "AOJu0YyjlFGgY+Gl2VS/wxzvnG1Sk2kibtEJv8y/knaQl6rvX2ZyTB54\n\t8oLb5gV2/0akjjB8WuOyRxT4kuaIeWK3puhLPBqgYklbreQSkFbJvkoa", "X-Gm-Gg": "AeBDievwk5kWi9yWeRkZJkZ5P4WEhFKTjE/lRIWisZ4walz1gTu0S9JvJ8Gvs0LwVH7\n\td9u4C10Tr5wdqeaEu9m+rAxlTEP1MiMbyDHzqKuTMAIiTtzixjEnJgdiUhPdO3lBaeFzQUzowze\n\tZxWupcjesRdrM/uXrvrQcHXbPTL5cYlEccZOKOA7v3XyeslzsvMTmLtD+oVDx5RtfHxnAABTOv0\n\tqu8KcTGyqYa3LU2qo2c9u38V9hXDdVl5n0BGdqs+sqCzW+dumEruAjEc7P3krdXdh+qDiCgOula\n\trGi2xxk7LFP5uS16Yvv9bU4WYkDsdFFoRAciFnI93zB8NeOrYycYlcRPLbNqDiyJP8MCpgqp6+r\n\tJiujpV3842OSSua4RuH7//yX46f4fLOxxpEYoNneockeTpD1O/F4QCZmgkzy2rpuAveiTS6d5jz\n\t+H8Ys9O6TO/BPB8XIhcMmNpfY=", "X-Received": "by 2002:a17:907:1ca1:b0:bc1:baa8:1857 with SMTP id\n a640c23a62f3a-bc1bab76a36mr109324266b.36.1777826337001;\n Sun, 03 May 2026 09:38:57 -0700 (PDT)", "From": "Svyatoslav Ryhel <clamor95@gmail.com>", "To": "Thierry Reding <thierry.reding@kernel.org>,\n\tMikko Perttunen <mperttunen@nvidia.com>,\n\tDavid Airlie <airlied@gmail.com>,\n\tSimona Vetter <simona@ffwll.ch>,\n\tJonathan Hunter <jonathanh@nvidia.com>,\n\tIon Agorria <ion@agorria.com>,\n\tSvyatoslav Ryhel <clamor95@gmail.com>", "Cc": "dri-devel@lists.freedesktop.org,\n\tlinux-tegra@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org", "Subject": "[PATCH v2 2/2] drm/tegra: gr2d/gr3d: Contain PM in the\n gr*d_probe/gr*d_remove", "Date": "Sun, 3 May 2026 19:38:42 +0300", "Message-ID": "<20260503163842.213489-3-clamor95@gmail.com>", "X-Mailer": "git-send-email 2.51.0", "In-Reply-To": "<20260503163842.213489-1-clamor95@gmail.com>", "References": "<20260503163842.213489-1-clamor95@gmail.com>", "Precedence": "bulk", "X-Mailing-List": "linux-tegra@vger.kernel.org", "List-Id": "<linux-tegra.vger.kernel.org>", "List-Subscribe": "<mailto:linux-tegra+subscribe@vger.kernel.org>", "List-Unsubscribe": "<mailto:linux-tegra+unsubscribe@vger.kernel.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit" }, "content": "From: Ion Agorria <ion@agorria.com>\n\nThe current power management configuration causes GR2G/GR3D to malfunction\nafter resume. Reconfigure all PM actions to be handled within the GR*D\nprobe and remove operations to address this.\n\nFixes: 62fa0a985e2c (\"drm/tegra: Enable runtime PM during probe\")\nAcked-by: Mikko Perttunen <mperttunen@nvidia.com>\nSigned-off-by: Ion Agorria <ion@agorria.com>\nSigned-off-by: Svyatoslav Ryhel <clamor95@gmail.com>\n---\n drivers/gpu/drm/tegra/gr2d.c | 11 ++++-------\n drivers/gpu/drm/tegra/gr3d.c | 11 ++++-------\n 2 files changed, 8 insertions(+), 14 deletions(-)", "diff": "diff --git a/drivers/gpu/drm/tegra/gr2d.c b/drivers/gpu/drm/tegra/gr2d.c\nindex e4148b034af7..ffcd076b5831 100644\n--- a/drivers/gpu/drm/tegra/gr2d.c\n+++ b/drivers/gpu/drm/tegra/gr2d.c\n@@ -100,9 +100,6 @@ static int gr2d_exit(struct host1x_client *client)\n \tif (err < 0)\n \t\treturn err;\n \n-\tpm_runtime_dont_use_autosuspend(client->dev);\n-\tpm_runtime_force_suspend(client->dev);\n-\n \thost1x_client_iommu_detach(client);\n \thost1x_syncpt_put(client->syncpts[0]);\n \thost1x_channel_put(gr2d->channel);\n@@ -286,6 +283,10 @@ static int gr2d_probe(struct platform_device *pdev)\n \t\treturn err;\n \t}\n \n+\tpm_runtime_enable(dev);\n+\tpm_runtime_use_autosuspend(dev);\n+\tpm_runtime_set_autosuspend_delay(dev, 500);\n+\n \treturn 0;\n }\n \n@@ -367,10 +368,6 @@ static int __maybe_unused gr2d_runtime_resume(struct device *dev)\n \t\tgoto disable_clk;\n \t}\n \n-\tpm_runtime_enable(dev);\n-\tpm_runtime_use_autosuspend(dev);\n-\tpm_runtime_set_autosuspend_delay(dev, 500);\n-\n \treturn 0;\n \n disable_clk:\ndiff --git a/drivers/gpu/drm/tegra/gr3d.c b/drivers/gpu/drm/tegra/gr3d.c\nindex 47b0c6c56bfd..cd5554e2117f 100644\n--- a/drivers/gpu/drm/tegra/gr3d.c\n+++ b/drivers/gpu/drm/tegra/gr3d.c\n@@ -109,9 +109,6 @@ static int gr3d_exit(struct host1x_client *client)\n \tif (err < 0)\n \t\treturn err;\n \n-\tpm_runtime_dont_use_autosuspend(client->dev);\n-\tpm_runtime_force_suspend(client->dev);\n-\n \thost1x_client_iommu_detach(client);\n \thost1x_syncpt_put(client->syncpts[0]);\n \thost1x_channel_put(gr3d->channel);\n@@ -517,6 +514,10 @@ static int gr3d_probe(struct platform_device *pdev)\n \t\treturn err;\n \t}\n \n+\tpm_runtime_enable(&pdev->dev);\n+\tpm_runtime_use_autosuspend(&pdev->dev);\n+\tpm_runtime_set_autosuspend_delay(&pdev->dev, 500);\n+\n \treturn 0;\n }\n \n@@ -578,10 +579,6 @@ static int __maybe_unused gr3d_runtime_resume(struct device *dev)\n \t\tgoto disable_clk;\n \t}\n \n-\tpm_runtime_enable(dev);\n-\tpm_runtime_use_autosuspend(dev);\n-\tpm_runtime_set_autosuspend_delay(dev, 500);\n-\n \treturn 0;\n \n disable_clk:\n", "prefixes": [ "v2", "2/2" ] }