Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2228655/?format=api
{ "id": 2228655, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2228655/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-tegra/patch/20260427075856.85208-2-clamor95@gmail.com/", "project": { "id": 21, "url": "http://patchwork.ozlabs.org/api/1.1/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 }, "msgid": "<20260427075856.85208-2-clamor95@gmail.com>", "date": "2026-04-27T07:58:56", "name": "[v1,1/1] drm/tegra: gr2d/gr3d: Move pm_runtime_enable to gr*d_probe", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "b375bce3ea107007c020b8c32d45cf415a654204", "submitter": { "id": 84146, "url": "http://patchwork.ozlabs.org/api/1.1/people/84146/?format=api", "name": "Svyatoslav Ryhel", "email": "clamor95@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-tegra/patch/20260427075856.85208-2-clamor95@gmail.com/mbox/", "series": [ { "id": 501596, "url": "http://patchwork.ozlabs.org/api/1.1/series/501596/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-tegra/list/?series=501596", "date": "2026-04-27T07:58:55", "name": "drm/tegra: gr2d/gr3d: Move pm_runtime_enable to gr*d_probe", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/501596/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2228655/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2228655/checks/", "tags": {}, "headers": { "Return-Path": "\n <linux-tegra+bounces-13996-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=Q7ZY84i1;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.105.105.114; helo=tor.lore.kernel.org;\n envelope-from=linux-tegra+bounces-13996-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=\"Q7ZY84i1\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=209.85.221.49", "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 tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])\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 4g3wvJ3byHz1yJs\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 27 Apr 2026 17:59:24 +1000 (AEST)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby tor.lore.kernel.org (Postfix) with ESMTP id A53D530068C4\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 27 Apr 2026 07:59:21 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 71A5C399023;\n\tMon, 27 Apr 2026 07:59:21 +0000 (UTC)", "from mail-wr1-f49.google.com (mail-wr1-f49.google.com\n [209.85.221.49])\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 CFC48397E9D\n\tfor <linux-tegra@vger.kernel.org>; Mon, 27 Apr 2026 07:59:19 +0000 (UTC)", "by mail-wr1-f49.google.com with SMTP id\n ffacd0b85a97d-43d73352cf2so8307365f8f.1\n for <linux-tegra@vger.kernel.org>;\n Mon, 27 Apr 2026 00:59:19 -0700 (PDT)", "from xeon ([188.163.112.56])\n by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-43fe4cb11b4sm79918386f8f.2.2026.04.27.00.59.17\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 27 Apr 2026 00:59:17 -0700 (PDT)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777276761; cv=none;\n b=AFjysNs/dXQ8NmFiTuFXRh2rVb/UyzMfocR+Ljh1MKQOfXDjHVMMVz9yheU+BcYLViS7PdU5IUhDlthHE/RUjWhFsctixIRBhmnzLys4RBR6ikaAAH89rurKQgix/jAapdmEOWxaDQo+MDADZVc1vT/o6jh5K3kV6JGyy4Eyw7k=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777276761; c=relaxed/simple;\n\tbh=vaQBnSj+USdsWGGLHc7b19lPknCYSlB6+8xOYj/pZM8=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=JOtwpk8RYMZrexvMM3vmKS6Vv5jLFspjdlKBZOUDVYB1O5xNydqkbOKLHbVpSPVggr/bHWLZjCIK+6JCBjTK0bm0sfiyWIK3vejDlrMAGv1h+5BuMfvnrsSFq5/rARjSe+VfySOAgaCf9JVmMysDfmdKeJ7sDZp/rk4eAAZbFeI=", "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=Q7ZY84i1; arc=none smtp.client-ip=209.85.221.49", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1777276758; x=1777881558;\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=QbqtPYwCKpsoZO65V2/Zjei16diYD3VChr6pC5XBI0Q=;\n b=Q7ZY84i1vtWwAZqu7OV6XfNy2YwHqxk4CUJwnlcCV9fFejpeTmzo6cGUYLoNyfDxjS\n iJWjfwA5pf8NXYFKsWilZ4z+OlXkSutSua15Agq2R9IiUY+9M6KTEJHiGVdTJow24wyU\n 63CZPw6Mq8J8dgxr8Dk2ybxMbe78WwDYJaOmhisKyY6InSuMFvtu55qBY8eS569LLNcC\n RR6Fz5DzhXMhn2nVwTHFSQUIFyC+TELClsoIHQga/zcNOJhKS9+ZdzemchTlQJD3+gk9\n 7ovw9DeF7lStkylg2WMALFWPLlbpym682lzMNca+nuFCLEpXc1IjaxD4csi9fYMEg+13\n UP5g==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777276758; x=1777881558;\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=QbqtPYwCKpsoZO65V2/Zjei16diYD3VChr6pC5XBI0Q=;\n b=tKSVhRBh2UN0cYpw1jBD2tZ6ut0n1TXYoRwUFlrHVkLN3i2Xhu3rTyA1/eFkuX0sWA\n c0B9RNcLIC3JHinlEteUDADX4uiwULYBNgo+xlebYlnV3KArDn1ZWhXJf1y/IWhcBjOw\n r1V9MFQePHZOtV07tuMSEKVFlJAImj0/ajhfeX6qlZUp3rEHOpz90nOM+cdoGp0UL2ZU\n P5O0OMNyzLSi5/7LhLEIcmnXgBxoQ1ONjbv7kw2cEOQIaHb2krGvxWrblwsYW7k3cPfN\n K4MRwERln7kSUuhafIYaBtd2/ieuX7Eo1ky4/lpgsRGHm2kWCapW1lLN16WqD7mpeF33\n jEvA==", "X-Forwarded-Encrypted": "i=1;\n AFNElJ9TYO9WwO10ljiQjMUjPefmyrpqxCdWM9yx9zqF9lA7cns11YFKjGX5yw0ciUnaovdv9wRoYTMcDYz+LQ==@vger.kernel.org", "X-Gm-Message-State": "AOJu0Yxwv3z1hMueTPOSj6NhjXRZsMM11WL/toeZWeGnTvrG+zBeIYP9\n\ttNyVLrI5VlNvg/QUSBPQmOidAe42wBwW4GDj6xONAPWf7kW6kVwNWoyO", "X-Gm-Gg": "AeBDieuA6z+vT9tEdWcfKWDsdWN1NkM0qGVvhDn/M08q2mAS/MeljpyM3U9otYbqlvp\n\tMQWnkJg+ze/ometcyCLo3XwZTDalLp0cUbuW2CBuZsUHkz1Fu8OsEjoL9q+wJTPhEM9PVRZO9kz\n\tiLUdCnjWjgrEiiLPb5m05jw7exS+tOrt4Ly+98PnlLiVclEI7WK9wNUVDH91lgU33hl3B2mWzfS\n\tWmkumwlCwFLWSK9wVaT/ct1+6QA3weGn4SdYKc/hX429arFne6ugithhGg8FN6Pm/kdJn+u+xd3\n\t3mL2iHswYRIPS5zkP/p5Ypid8q5wTTvjykSIZXgm+AKb7i2jmimHGuJ9m58boFRN9uUarXZQ+Jh\n\tFSvf8VI7zSHbPqvWyifmMsb7EBWaNA9iS8psXwgud+f1BX8dFxXI5NB37K9IvBBD1rBcAfj0G1u\n\tjOLT0bmziS3KrqT+Tp8TBaJuE=", "X-Received": "by 2002:a05:6000:24ca:b0:43e:a70d:7632 with SMTP id\n ffacd0b85a97d-43fe3e0b463mr65931197f8f.25.1777276758054;\n Mon, 27 Apr 2026 00:59:18 -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 v1 1/1] drm/tegra: gr2d/gr3d: Move pm_runtime_enable to\n gr*d_probe", "Date": "Mon, 27 Apr 2026 10:58:56 +0300", "Message-ID": "<20260427075856.85208-2-clamor95@gmail.com>", "X-Mailer": "git-send-email 2.51.0", "In-Reply-To": "<20260427075856.85208-1-clamor95@gmail.com>", "References": "<20260427075856.85208-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 gr*d_remove() has pm_runtime_disable, this indicates it should be\npaired with pm_runtime_enable in the probe instead of being inside\ngr*d_runtime_resume().\n\nSigned-off-by: Ion Agorria <ion@agorria.com>\nSigned-off-by: Svyatoslav Ryhel <clamor95@gmail.com>\n---\n drivers/gpu/drm/tegra/gr2d.c | 8 ++++----\n drivers/gpu/drm/tegra/gr3d.c | 8 ++++----\n 2 files changed, 8 insertions(+), 8 deletions(-)", "diff": "diff --git a/drivers/gpu/drm/tegra/gr2d.c b/drivers/gpu/drm/tegra/gr2d.c\nindex 21f4dd0fa6af..71f092d59d65 100644\n--- a/drivers/gpu/drm/tegra/gr2d.c\n+++ b/drivers/gpu/drm/tegra/gr2d.c\n@@ -286,6 +286,10 @@ static int gr2d_probe(struct platform_device *pdev)\n \tfor (i = 0; i < ARRAY_SIZE(gr2d_addr_regs); i++)\n \t\tset_bit(gr2d_addr_regs[i], gr2d->addr_regs);\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 +371,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 42e9656ab80c..33e88ca4d4c5 100644\n--- a/drivers/gpu/drm/tegra/gr3d.c\n+++ b/drivers/gpu/drm/tegra/gr3d.c\n@@ -517,6 +517,10 @@ static int gr3d_probe(struct platform_device *pdev)\n \tfor (i = 0; i < ARRAY_SIZE(gr3d_addr_regs); i++)\n \t\tset_bit(gr3d_addr_regs[i], gr3d->addr_regs);\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 +582,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": [ "v1", "1/1" ] }