[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220730150952.v3.6.I3329f9e803d8c09bd017d777e5bbd2a80080295f@changeid>
Date: Sat, 30 Jul 2022 15:10:49 +0530
From: Akhil P Oommen <quic_akhilpo@...cinc.com>
To: freedreno <freedreno@...ts.freedesktop.org>,
<dri-devel@...ts.freedesktop.org>, <linux-arm-msm@...r.kernel.org>,
Rob Clark <robdclark@...il.com>,
Bjorn Andersson <bjorn.andersson@...aro.org>
CC: Jordan Crouse <jordan@...micpenguin.net>,
Jonathan Marek <jonathan@...ek.ca>,
Douglas Anderson <dianders@...omium.org>,
"Matthias Kaehlcke" <mka@...omium.org>,
Akhil P Oommen <quic_akhilpo@...cinc.com>,
Abhinav Kumar <quic_abhinavk@...cinc.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>,
Daniel Vetter <daniel@...ll.ch>,
David Airlie <airlied@...ux.ie>,
Dmitry Baryshkov <dmitry.baryshkov@...aro.org>,
Nathan Chancellor <nathan@...nel.org>,
"Sean Paul" <sean@...rly.run>,
Vladimir Lypak <vladimir.lypak@...il.com>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH v3 6/8] drm/msm/adreno: Remove a WARN() during runtime_suspend
WARN(gpu->active_submits) during runtime_suspend doesn't make sense now
because we force runtime suspend during a gpu recovery when there are
active submissions pending.
Signed-off-by: Akhil P Oommen <quic_akhilpo@...cinc.com>
---
(no changes since v1)
drivers/gpu/drm/msm/adreno/adreno_device.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/drivers/gpu/drm/msm/adreno/adreno_device.c b/drivers/gpu/drm/msm/adreno/adreno_device.c
index 8706bcd..d1e1e8e 100644
--- a/drivers/gpu/drm/msm/adreno/adreno_device.c
+++ b/drivers/gpu/drm/msm/adreno/adreno_device.c
@@ -610,13 +610,6 @@ static int adreno_runtime_suspend(struct device *dev)
{
struct msm_gpu *gpu = dev_to_gpu(dev);
- /*
- * We should be holding a runpm ref, which will prevent
- * runtime suspend. In the system suspend path, we've
- * already waited for active jobs to complete.
- */
- WARN_ON_ONCE(gpu->active_submits);
-
return gpu->funcs->pm_suspend(gpu);
}
--
2.7.4
Powered by blists - more mailing lists